Meh. Then I hope for a huge number of radars because this makes it
feel a little half baked - to put it nicely.
Feels like a strange oversight given how Apple is pushing autolayout.
Thanks for the responses guys.
cheers,
Torsten
On Wed, Jun 11, 2014 at 8:23 PM, Luke Hiesterman wrote:
> You have
You have to set the frame yourself (before assigning to the
tableView.tableFooterView) property. You can use autolayout and
systemSizeFittingSize to get the appropriate size, but you have to apply it
yourself.
Luke
On Jun 11, 2014, at 11:16 AM, Torsten Curdt wrote:
> My question really isn't
My question really isn't about positioning.
Given that the tableview scrolls vertically the width should give the
horizontal width constraint for the footer view. The height of the
footer should come from the intrinsic size of the footer view. At
least that's how I image it should work.
Now the q
On Jun 11, 2014, at 9:41 AM, Torsten Curdt wrote:
> Thanks but there you are setting the frame yourself. The idea was to
> use constraints. Usually you would pin them to the superview. But in
> this case...
My solution uses Auto Layout constraints to get the appropriate size for the
header view
Thanks but there you are setting the frame yourself. The idea was to
use constraints. Usually you would pin them to the superview. But in
this case...
I tried assigning the footer view and then assigning the constraints
to the super view. It just did not yield the expected results.
cheers,
Torste
Hi Torsten,
On Jun 11, 2014, at 6:26 AM, Torsten Curdt wrote:
> So what's the story with tableFooterView and tableHeaderView and
> autolayout? I am trying to put a label into a footer.
I have had luck with code like the following:
- (void)viewDidLoad
{
[super viewDidLoad];
self.h
So what's the story with tableFooterView and tableHeaderView and
autolayout? I am trying to put a label into a footer.
No problem if I give the label a frame but with the promise of
autolayout this should not be necessary - I thought. I cannot really
set any constraints referring to the super view