On Jul 19, 2013, at 6:03 AM, Koen van der Drift
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
> addit
On Jul 19, 2013, at 9:30 AM, Koen van der Drift
wrote:
>
> The problem I foresee though is that at the time I create the tableView, the
> dataSource method for the number of rows (= 2) hasn't been called yet, and
> therefore the table doesn't know what the contentSize will be.
Try calling -l
On Jul 19, 2013, at 10:15 AM, Kyle Sluder wrote:
> On Jul 19, 2013, at 6:03 AM, Koen van der Drift
> 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
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 p
On Jul 15, 2013, at 10:01 AM, Roland King wrote:
> In many ways. If you are using autolayout then set the height of the view to
> 88 points (points != pixels). You can use autolayout without storyboards, you
> can implement your own layout if you aren't using Autolayout. If you actually
> kno
In many ways. If you are using autolayout then set the height of the view to 88
points (points != pixels). You can use autolayout without storyboards, you can
implement your own layout if you aren't using Autolayout. If you actually know
your view needs an 88 pixel height then that's pretty easy
Maybe I should rephrase my question :)
I have two views, one should be pinned to the bottom of the screen with a fixed
height of 88 pixels, the other view should take up the rest of the screen.
How can I accomplish this without using a xib or storyboard?
Thanks,
- Koen.
On Jul 15, 2013, a
Seems to be equal on iPhone and iPad
Verstuurd vanaf mijn iPhone
Op 15 jul. 2013 om 13:18 heeft Koen van der Drift
het volgende geschreven:
>
> On Jul 15, 2013, at 7:14 AM, Diederik Meijer | Ten Horses
> wrote:
>
>> Isn't the standard 44?
>> Then 2 rows would be 88, or am I missing somethi
On Jul 15, 2013, at 7:20 AM, Roland King wrote:
> You can get rectForSection: and other metrics, add them up and that should
> give you the height the table actually is.
Hmm, not sure if that will work, since I need to know the height already when I
create the table.
I think I need to use
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
wrote:
>
> On Jul 15, 2013, at 7:08 AM, Diederik Meijer | Ten Horses
> wrote:
>
>> Won't, setting the row height in
>>
>>
On Jul 15, 2013, at 7:14 AM, Diederik Meijer | Ten Horses
wrote:
> Isn't the standard 44?
> Then 2 rows would be 88, or am I missing something?
If that won't change in future iOS versions or different screen sizes, then I
can use that indeed.
Thanks,
- Koen.
___
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
het volgende geschreven:
> Won't, setting the row height in
>
> - (CGFloat)tableView:(UITableView *)tableView
> heightForRowAtIndexPath:(NSIndexPath *)
On Jul 15, 2013, at 7:08 AM, Diederik Meijer | Ten Horses
wrote:
> Won't, setting the row height in
>
> - (CGFloat)tableView:(UITableView *)tableView
> heightForRowAtIndexPath:(NSIndexPath *)
> indexPath
>
> {
>
>
> return something;
> }
>
> and then multiplying that something with 2
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
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 s
15 matches
Mail list logo