Grouped UITableView has 20px of extra padding at the bottom

前端 未结 12 1129
长发绾君心
长发绾君心 2020-12-23 09:34

Grouped table views seem to have extra padding on the bottom in iOS 6 (iOS 5 does not have it), but I can\'t find any documentation that suggests this is correct / expected

12条回答
  •  甜味超标
    2020-12-23 10:03

    Use the bounces property of UIScrollView:

    [yourTableView setBounces:NO];
    

    This will remove what seems to be an extra padding at the top and bottom of your UITableView. Actually, it will just disable the tableview's scrollview to scroll past the edge of the content.

提交回复
热议问题