简体   繁体   中英

iOS7 - Storyboards for 6.1 and 7.0 look misaligned

I am trying to get the storyboards for iOS 6.1 and 7.0 to appear normally. But for some reason the buttons from iOS 6.1 are no longer buttons and are just links. Why does that happen?

And most importantly, why did a part of the screen content on the iOS 7 screen get shifted up? Now when I try to shift it down, the iOS 6.1 content appears too low.

Here is a split screen of what is happening:

屏幕截图

Thank you!

Many of the defaults for interface items have changed for iOS 7. The standard default button is just a piece of text, with no borders. Also, the screen displays underneath the nav bar now. Use the edgesForExtendedLayout setting and change it from its default of UIRectEdgeAll to get the view to not show under other things.

Welcome to iOS 7! Its not a bug-- its the new default interface.

Check out the iOS 7 transition guide here.

Here is where to set it in Interface Builder: 在此处输入图片说明

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