IOS - About UIScrollView or UITableView Auto Layout Problems

 

Affect the coordinate of the UIVeiwController

UINavigationController.navigationBar.translucent = NO

  

 

You found you scrollView or tableView auto layout is vired , just do below

UIVeiwController.automaticallyAdjustsScrollViewInsets = NO

 

You found your ViewController in NavigationController was covered by NavigationBar, just insert codes below

    self.edgesForExtendedLayout = UIRectEdgeBottom;
    self.navigationController.view.backgroundColor = [UIColor whiteColor];

  

 

 

Reference :  Auto Layout Updates in iOS 7

posted @ 2014-05-09 14:56  makemelike  阅读(208)  评论(0编辑  收藏  举报