View got hidden below UINavigationBar iOS 7

前端 未结 9 1574
粉色の甜心
粉色の甜心 2020-12-02 13:10

Earlier, I was using iOS 6.1 for my project. Recently I have switched to iOS 7. For, a lot of changes I knew, I updated my code.. But I have observed a strange behavior. My

9条回答
  •  一整个雨季
    2020-12-02 13:21

    Use this property for your VC, in-order to avoid overlap of ur statusbar with your VC Swift :

    self.edgesForExtendedLayout = []
    

    Objective C

    self.edgesForExtendedLayout = UIRectEdgeNone;
    

提交回复
热议问题