Xcode 8 GM seed Storyboard layout issue

前端 未结 5 1082
余生分开走
余生分开走 2020-12-08 22:15

I\'ve tried XCode 8 GM seed and I\'ve found out a serious issue in the Storyboard, either you use Auto Layout or disable it, Xcode 8 messes up with a UIView

相关标签:
5条回答
  • 2020-12-08 22:33

    if you are using Auto Layout then, Please Select one by one UIViewController Scene in Main Storyboard. Click Update Frame, it will automatically adjust all frames of a selected view controller.

    0 讨论(0)
  • 2020-12-08 22:34

    If you are compiling your build for iOS 9.3 or earlier versions then you can just change the builds for option to 9.3x.

    Change builds for to 9.3:-

    0 讨论(0)
  • 2020-12-08 22:57

    The only workaround I've found for this is to make the view controllers size "fixed" using the Size Inspector.

    0 讨论(0)
  • 2020-12-08 22:57

    You can change Simulated size of view controller from size inspector. Go to size inspector and change simulated size to Free form. You can set width and height of view as you like. To view the screen as it was in iOS 9, change width and height to 600.

    0 讨论(0)
  • 2020-12-08 22:59

    EDIT: Finally Apple fixed this issue with Xcode 8.2.1, good job Apple devs :)

    0 讨论(0)
提交回复
热议问题