Tab bar covers UITableView's last cell

后端 未结 12 1896
挽巷
挽巷 2020-12-16 01:18

I\'m developing an application based on the Tab Bar application preset. In one of the tabs I have a table view showing a lot of data, but half the last cell in the table vie

12条回答
  •  别那么骄傲
    2020-12-16 01:37

    REAL ANSWER:

    I had this problem, and ended up here ... So even if this is old, here is how I solved this issue:

    I had a UITabBar controller with one tab being a UIViewController, and it had a single added line:

    [self.view addSubview:navController.view];
    

    This is wrong .. Even if the code worked, the concept is wrong (at least in my case), the navController should be directly linked in the UITabBar as one of the tabs...

    So, what's the real answer?

    You must have implemented the navigation controller incorrectly. As proof is that I had this issue, as I explained, and also This Guy...

提交回复
热议问题