Re: height of UITableView with exactly two rows
Re: height of UITableView with exactly two rows
- Subject: Re: height of UITableView with exactly two rows
- From: Kyle Sluder <email@hidden>
- Date: Fri, 19 Jul 2013 07:15:08 -0700
On Jul 19, 2013, at 6:03 AM, Koen van der Drift <email@hidden> wrote:
> I have a follow up question. I decided to make the UITableView with the grouped style. Of course, now it is higher because of the additional space that is drawn above and under the two rows. After doing some searching, an additional height of 22 points seems to be appropriate to make it fit perfectly.
>
> Does this seem ok,
No.
> and will it still work with all devices and/or future versions of iOS?
Almost certainly not. Have you read about the Dynamic Type feature in iOS 7? Http://apple.com/ios/ios7
> Maybe there is a #define that I can use that will always be correct?
No.
Have you tried just asking the table view for its -contentSize?
--Kyle Sluder
_______________________________________________
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