问题
I am having a view on which I am setting an ImageView. Auto layout is checked. It looks good in the preview, but when app actually runs on the simulator, there is blank space is showing at the top as well as bottom only in the iPHone retina 4 inch simulator. on 3.5 inch it looks fine. Using iOS7 and XCODE 5.
Even though i removed image from view, still there is the same problem.
What can be reason for this blank space ?
回答1:
I think are you Forget to adding splash screen Default-568h@2x.png in to you Project please check Property and set required splash-screen Default-568h@2x.png (640 × 1136 pixels) and clean project and run again
来源:https://stackoverflow.com/questions/19403334/ios7-xib-issue-blank-space-at-top-and-bottom