You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this table within an autolayout setup with Storyboard. Each of my rows has a diferent height, so when I toggle the sections, the overall table height changes.
The initial view loads, and the table will size correctly, based on the content currently showing. This also works if I expand a section within viewDidLoad.
However, if I then press on a section header, and the sections then toggle, the tableheight doesn't adjust the surrounding views, etc so the content is hidden. It seems that clicking the header and triggering the toggle doesn't cause the view to layoutSubviews, so the above is not called
Is there a way we can trigger this, so the layout will adjust to the new size?
Thanks
H
The text was updated successfully, but these errors were encountered:
I am using this table within an autolayout setup with Storyboard. Each of my rows has a diferent height, so when I toggle the sections, the overall table height changes.
I have managed to get around this by using:
The initial view loads, and the table will size correctly, based on the content currently showing. This also works if I expand a section within viewDidLoad.
However, if I then press on a section header, and the sections then toggle, the tableheight doesn't adjust the surrounding views, etc so the content is hidden. It seems that clicking the header and triggering the toggle doesn't cause the view to layoutSubviews, so the above is not called
Is there a way we can trigger this, so the layout will adjust to the new size?
Thanks
H
The text was updated successfully, but these errors were encountered: