UITableViewHeaderFooter frames?
UITableViewHeaderFooter frames?
- Subject: UITableViewHeaderFooter frames?
- From: Steve Mykytyn via Cocoa-dev <email@hidden>
- Date: Tue, 11 Aug 2020 12:02:45 -0700
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 (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