Olex
Olex

Reputation: 1656

ios simulator 6.0 displaying view issue

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

Answers (2)

Ganesh S Bhat
Ganesh S Bhat

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

Cyrille
Cyrille

Reputation: 25144

Do you have a 568@2x splash screen?

Upvotes: 1

Related Questions