简体   繁体   中英

Autolayout iPhone 6 doesn't work

I developed an app for iOS, this app should work for iPhone 4s, iPhone 5, iPhone 5c, iPhone 5s, iPhone 6 and iPhone 6+. I read the apple documentations and I found that I've to design only a Storyboard in which I use auto layout and size class. I designed the user interface with Storyboard and I set all constraints, but when I run it on my iPhone 6 it shows me the user interface not optimized for the display of my iPhone 6. Here's a sample:

在此处输入图片说明

As you can see it shows me the view with big operator log, big clock, big battery indicator and big keyboard. Why it doesn't work? Should I add the splash screen for Retina 4.7 and Retina 5.5?

您需要添加“启动屏幕文件”,该文件是XIB或情节提要,显示启动时显示的屏幕。

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