Reputation: 251
I stopped development of my app for a couple months, and now I'm coming back to it. For the life of me, I can't remember how I got the UITableView Header to be larger:
I'm trying to get it to go back to a normal table view (not such a huge header). I checked through my code, and there's no mention of "header" anywhere. Am I missing something in the Storyboard inspector? Is there a way to reset the attributes? Thanks!
Upvotes: 1
Views: 183
Reputation: 4767
It hope it should work by just setting the frame property of the UITableView
header.
CGRect newFrame = myHeaderView.frame;
newFrame.size.height = newFrame.size.height + 100;
myHeaderView.frame = newFrame;
self.tableView.tableHeaderView = myHeaderView;
Upvotes: 0
Reputation: 1297
Select your table view in your storyboard or nib file. In the Utilities side bar, go to the size tab (selected in the screenshot) and check the Section Height options.
Does that help?
Upvotes: 1