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

前端 未结 6 859
遇见更好的自我
遇见更好的自我 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 05:01

    Does this only happen on iOS 7?

    Give this a try:

    self.navigationController.navigationBar.translucent = NO;
    

提交回复
热议问题