Problem setting autosizing in interface builder

后端 未结 3 618
被撕碎了的回忆
被撕碎了的回忆 2021-02-05 07:21

I have two viewControllers, one is a subclass of UIViewController (autoresizes correctly), the other one is a subclass of a subclass of UIViewController.
I did a layout in I

3条回答
  •  -上瘾入骨i
    2021-02-05 07:47

    Open Main.storyboard as source (do not forget, it is just an XML file) and replace "autoresizingMask" tag in the View with the following line:

    
    

提交回复
热议问题