[英]iOS Simulator Ignores Half of the Screen?
My app is working fine in iOS 7 , but when I simulate it in iOS 6 simulator , it seems , that it only loads top half of the screen. 我的应用程序在iOS 7中运行正常,但是当我在iOS 6模拟器中对其进行仿真时,它似乎只加载屏幕的上半部分。 How can I solve this ?
我该如何解决?
This is an screenshot of how the view is in the storyboard builder and in the simulator : 这是该视图在情节提要生成器和模拟器中的屏幕截图:
set your iPhone retina 4 launch image 640*1136 设置您的iPhone Retina 4启动图像640 * 1136
You have to add a splash screen (Default.png) of (640 × 1136)... without this app treated app as its iphone 4s & below device 您必须添加(640×1136)的启动屏幕(Default.png)...,而无需将此应用视为iPhone 4s及以下设备
You need to set the UI for iOS7 as well as iOS6. 您需要为iOS7和iOS6设置UI。
That's it. 而已。
check this url too : https://developer.apple.com/library/IOs/documentation/UserExperience/Conceptual/TransitionGuide/SupportingEarlieriOS.html 还要检查此网址: https : //developer.apple.com/library/IOs/documentation/UserExperience/Conceptual/TransitionGuide/SupportingEarlieriOS.html
If you have any problem then let me know. 如果您有任何问题,请告诉我。
This happens because of the resolution of iOS6 is lesser than iOs 7 simulator. 发生这种情况是因为iOS6的分辨率低于iOs 7模拟器。 You can use Autolayout option to solve this issue.
您可以使用“自动布局”选项来解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.