view controller is showing blank in storyboard

Viewed 1726

I have copied a view controller from one project to another . but after that it is showing blank.

enter image description here

and I have also tried this ...

enter image description here

any suggestion?

3 Answers

I solved this by using this way

Storyboard -> Attribute inspector -> simulator size -> Fixed

That seems Xcode bug, Quit Xcode and run it again or switch between storyboard it will be normal.

Are you sure after copying viewcontroller your set initial view controller? Look at this image

in above image at right middle you can see check box labeld as "Is initial view controller" check that box after selecting viewcontroller/navigationcontroller which your want to set first

Related