• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: height of UITableView with exactly two rows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: height of UITableView with exactly two rows
      • From: Koen van der Drift <email@hidden>
References: 
 >height of UITableView with exactly two rows (From: Koen van der Drift <email@hidden>)
 >Re: height of UITableView with exactly two rows (From: Diederik Meijer | Ten Horses <email@hidden>)
 >Re: height of UITableView with exactly two rows (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: height of UITableView with exactly two rows
  • Next by Date: Re: height of UITableView with exactly two rows
  • Previous by thread: Re: height of UITableView with exactly two rows
  • Next by thread: Re: height of UITableView with exactly two rows
  • Index(es):
    • Date
    • Thread