Why Extra Padding on top of ThumbnailView?
I am using Three20's TTThumbViewController. Everything works fine except for a padding on top of the thumbnail table which appears开发者_如何转开发 to be reserved for the navigation header, except that it takes the place right below the header. How can I get rid of this white space?
I dont know why this works for sure, but I faced the same problem and found this solution at google group.
Override updateTableLayout
in your TTThumbsViewController
- (void)updateTableLayout
{
self.tableView.contentInset = UIEdgeInsetsMake(4, 0, 0, 0);
self.tableView.scrollIndicatorInsets = UIEdgeInsetsZero;
}
精彩评论