iOS7 table view embedded in tab bar doesn't display last cell

后端 未结 5 856
花落未央
花落未央 2021-01-02 10:10

In my storyboard, I have a View controller (embedded in a navigation controller). Inside the view controller I have a tab bar controller, and inside a tab a table view contr

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-02 10:38

    I think it has to do with automaticallyAdjustsScrollViewInsets not being applied (or applied correctly) due to the nested structure of your view controller hierarchy.

    Try and copy your table into a new UIViewController and make sure the checkmark in the UIViewController's identity inspector called "Adjust Scroll View Insets" is turned on.

提交回复
热议问题