iosxcodeipad

build ios app so ipad uses iphone screen size


I have inherrtied an IOS project that was being built primarly for iphone. When I run the app on an ipad, the app runs in the top left corner of the screen and everything looks a bit broken. I noticed some apps run in a small iphone screen on the ipad with the option to zoom in. How do I get my app to do this?


Solution

  • Go to the project settings and select your target. Under the "Summary" tab, choose "iPhone" from the "Devices" dropdown:

    enter image description here