我有表視圖控制器內的表視圖,我有最後兩個項目不可見,我只能看到,只有當我看到只有當我向上滾動但它再次向下滾動。 我試圖改變表視圖的高度等內部viewWillAppear中最後兩行在表視圖控制器中的tableView內部不可見,因爲底部的選項卡
self.edgesForExtendedLayout = UIRectEdgeAll;
self.tView.contentInset = UIEdgeInsetsMake(0.0f, 0.0f, CGRectGetHeight(self.tabBarController.tabBar.frame), 0.0f);
或
CGFloat bottom = self.tabBarController.tabBar.frame.size.height;
[self.tView setScrollIndicatorInsets:UIEdgeInsetsMake(0, 0, bottom, 0)];
self.tView.contentInset = UIEdgeInsetsMake(0, 0, bottom, 0);
但仍然最後兩個是通過在屏幕底部的選項卡不可見的(tView是表圖)。
包括一個屏幕截圖,以顯示這看起來會是一個很大的幫助 - 它會讓人們看到你的意思,而不是過多地運用他們的想象力。 – dasblinkenlight