I have a stupid question: Why when I debug an app for iPhone in an iPad the simulation start in a iPhone 4 screen and not in other types of screen?
iOS: test app for iPhone in iPad, screen size
932 views Asked by cyclingIsBetter At
2
There are 2 answers
0

If I understand you correct, please use this button to choose which one you want to use in simulator :
when you click you should able to see some list like this :
If you're not able to see other iOS version you can add them in Xcode/Preferences/Downloads section :
please let me not if you're not asking this.
To set the App to work on a different size screen you must add that screen size to the LaunchImage asset.
1) Create an splash screen launch image for the size of the iPad you want to use.
2) Import it into your project
3) Open images.xcassets in the Project Navigator
4) Select LaunchImage
5) Drag and drop the splash screen launch image to the correct iPad asset
It is very frustrating and seems strange, but the Launch Image size tells the App what dimension it can run on. Setting image sizes in your screen or using auto layout won't work unless that Launch Image size has a splash screen