简体   繁体   English

iOS模拟器无法正确显示对象-xcode 4.5.2和iOS模拟器6.0

[英]iOS simulator not displaying objects correctly - xcode 4.5.2 and iOS simulator 6.0

在此处输入图片说明

As you can see in the picture i uploaded, this is the basically the problem. 如您在我上传的图片中所见,这基本上就是问题所在。

I did not even write any code yet, just have a basic view controller with 2 buttons and a label on it...it is displayed in a certain way in my story board (the way i want), but when it is run it is displayed incorrectly as you can see in the iOS simulator. 我什至没有编写任何代码,只是有一个带有2个按钮和标签的基本视图控制器...它以某种方式在我的故事板上显示(我想要的方式),但是在运行时您在iOS模拟器中看到的显示错误。 Any reason to why this is happening or how to correct it? 有什么原因导致这种情况发生或如何纠正?

Thanks, 谢谢,

R [R

Your story board is in iPhone 5 (4 inch) layout and the simulator running in 3.7 inch mode. 您的故事板采用iPhone 5(4英寸)布局,并且模拟器以3.7英寸模式运行。 You can toggle the settings in storyboard editor to see how it will look in both modes and make sure you set up your positioning rules so it works dynamically for both. 您可以在情节提要编辑器中切换设置,以查看在两种模式下的外观,并确保设置了定位规则,以使其对两种模式均能动态工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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