简体   繁体   中英

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. Any reason to why this is happening or how to correct it?

Thanks,

R

Your story board is in iPhone 5 (4 inch) layout and the simulator running in 3.7 inch mode. 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.

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