IOS7 : UIScrollView offset in UINavigationController

后端 未结 8 1952
攒了一身酷
攒了一身酷 2020-12-04 04:57

I\'m currently migrating my app on ios 7 and I\'ve been stuck for hours on the new navigationcontroller/bar management.

Before, when we had a navigation controller,

8条回答
  •  春和景丽
    2020-12-04 05:32

    Thank you guys for the solutions! I struggled for hours trying to solve the problem. Everything was ok when there was no Navigation Bar involved but it went haywire the moment I embedded the ViewController in a NavigationController.

    I solved it by unchecking the Adjust Scroll View Insets and the Under Top Bars. Both of these are located in the ViewController's Attribute Inspector. Thanks a million!

提交回复
热议问题