简体   繁体   中英

Converting Iphone Screen to Ipad Screen

I created an Iphone app and I am trying to convert them to Ipad screens. I have a login page which was created for Iphone, I tried to change it to Ipad by changing Project Settings screen and changed the emulator. But the Login page looks weird on Ipad Emulator, controls are get stuck to the upper left corner. How can I fix it to look centered on Iphone and Ipad?

here is the screen on xcode

xcode屏幕

here is the screen on emulator

模拟器

You need to adjust the autolayout settings for each object.

http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM