Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone app has stretched in the iPad

Tags:

ios

size

I want to test an iPhone app on the iPad, but I only have iPad now. IOS5.1 & Xcode 4.3.1 that are my environment and I set the same storyboard in the project TARGETS, the app runs on the iPad has been fullscreen displayed (all of the UILayouts have been stretched), cannot show any view switch in the app.

How can I run the same size app on the iPad?

like image 886
koalago Avatar asked Nov 18 '25 03:11

koalago


1 Answers

You need to change the app target from Universal to iPhone.

Go to [Project Targets] > Summary > iOS Application Target > Devices > iPhone

This way the iPad will open your app as a legacy iPhone app.

like image 135
Colin Avatar answered Nov 20 '25 02:11

Colin