我的表格视图有8个部分,我将最后一节(第7节)的页脚高度定为80,这样,表格的视图对用户是友好的。
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
switch (section) {
case 7:
return 80;
}
return 10;
}
My cell has a text field and i program so that when a keyboard pops up, I still can scroll the table and see every section. When the keyboard is dismissed, I notice that the height for footer of the last section has been shrinking a bit.
我的问题:在取消键盘后,我怎么能强迫我重新排列部分页脚的高度?