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: Roland King <email@hidden>
- Date: Mon, 15 Jul 2013 19:20:22 +0800
You can get rectForSection: and other metrics, add them up and that should give you the height the table actually is.
On 15 Jul, 2013, at 7:13 PM, Koen van der Drift <email@hidden> wrote:
>
> On Jul 15, 2013, at 7:08 AM, Diederik Meijer | Ten Horses <email@hidden> wrote:
>
>> Won't, setting the row height in
>>
>> - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)
>> indexPath
>>
>> {
>>
>>
>> return something;
>> }
>>
>> and then multiplying that something with 2 work?
>
> That's an idea, but I wonder if forcing the height of a row will break on a different iOS? Furthermore, my cells are standard, so I prefer not to change that.
>
> - Koen.
>
>
>
> _______________________________________________
>
> 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
_______________________________________________
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