Isn't the standard 44? Then 2 rows would be 88, or am I missing something?
Op Jul 15, 2013, om 1:08 PM heeft Diederik Meijer | Ten Horses <[email protected]> het volgende geschreven: > Won't, setting the row height in > > - (CGFloat)tableView:(UITableView *)tableView > heightForRowAtIndexPath:(NSIndexPath *)indexPath > { > return something; > } > > and then multiplying that something with 2 work? > > Add headerView/footerView heights if needed.. > > > > > Op Jul 15, 2013, om 1:02 PM heeft Koen van der Drift > <[email protected]> het volgende geschreven: > >> I'd like to add a tableview with exactly two rows under a custom view. I can >> do that for one size of screen, and empirically figure out what he height of >> the table should be and be done with it. But of course that doesn't work >> anymore when I move to a different size screen or iOS version. >> >> So somehow, I need to find find out what the height is of a UITableView with >> two rows, and then I can calculate the height of the tableview and custom >> view and position them. >> >> Is this a job for auto-layout, or is there another way that I am overlooking? >> >> I am not using a xib or storyboards. >> >> Thanks, >> >> - Koen. >> >> >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list ([email protected]) >> >> 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/diederik%40tenhorses.com >> >> This email sent to [email protected] > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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/diederik%40tenhorses.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
