I would like to get the frame of displayed UITableViewHeaderFooter views,
but unfortunately

[self.tableView.delegate tableView:self.tableView viewForHeaderInSection:i]

returns the correct UITableViewHeaderFooter based on its textLabel, but the
frame is all zeroes:

Printing description of header: <LUXViewTableSectionHeader: 0x7fc03de477f0;
baseClass = UITableViewHeaderFooterView; frame = (0 0; 0 0); text = ' ▽
Permissions'; tintColor = <UIDynamicProviderColor: 0x60000042dde0; provider
= <*NSMallocBlock*: 0x600000af3d20>>; gestureRecognizers = <NSArray:
0x600000a45ce0>; layer = <CALayer: 0x60000043c0e0>>

I can get valid frames for UITableViewCells, but not the section headers.

Any suggestions?
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to