UITableView section 20 px difference between text and view versions
UITableView section 20 px difference between text and view versions
- Subject: UITableView section 20 px difference between text and view versions
- From: Rick Mann <email@hidden>
- Date: Thu, 11 Jul 2013 15:01:22 -0700
If I implement -tableView:titleForHeaderInSection:, the resulting header has additional margin (20 px) above the views created for the header by iOS.
If I instead implement -tableView:viewForHeaderInSection: and -tableView:heightForHeaderInSection:, I don't get that extra 20 px of padding above my view.
Where does that padding come from, and can I get it added to my header view, or do I have to bake it into my view?
Thanks,
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden