Reputation: 1656
First time trying to develop app for iOS 6. I am having issue with displaying app in 4-inch display size in iOS Simulator 6.0, it displays like app for 3.5-inch display with black areas in top and bottom. I switched settings to:
I am also tried to clean the project and to reset the settings of a Simulator. So is it a bug of a simulator or there is another option to solve this problem?
Upvotes: 0
Views: 463
Reputation: 237
Adding [email protected] will fix this issue.
Sometimes you may also come across the same issue when you are developing an application that supports in lower versions too.
In this case, setting your view frames to [[UIScreen mainScreen] Bounds] will fix the issue.
Upvotes: 1