iOS7 View moves under status/nav bars when loadView called again

前端 未结 6 864
遇见更好的自我
遇见更好的自我 2021-02-13 03:57

I have a View Controller that creates its view programatically through the loadView method. The purpose of the view is to display a data models contents. When the v

6条回答
  •  暖寄归人
    2021-02-13 04:39

    Try following:

     Toolbar.autoresizingMask = UIViewAutoresizingFlexibleTopMargin;
    

提交回复
热议问题