Last active
February 9, 2024 09:53
-
-
Save smileyborg/50de5da1c921b73bbccf7f76b3694f6a to your computer and use it in GitHub Desktop.
How to manually self-size UITableView tableHeaderView/tableFooterView in iOS 11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, could you explain the context of this piece of code if you have time?
Is it supposed to be called in a
viewDidLayoutSubviews
for example?In my case, I am using a container for my headerView and I add the container to the
tableheaderView
.It does not seem it will affect what I am doing here :/
For a little bit of context on my side:
And then, I have my current
ViewController
containing this setup that has overrideviewDidLayoutSubviews
:Thank you for your further help and time.