This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 427
iOS 11 Large gap above scroll view #190
Comments
Were you able to work around it? |
Facing same issue |
If you place the above code into the view controller that has your table view it should fix it |
@joshbernfeld Great!. It is helpful to me! |
you can also use:
|
I still get weird behavior where there are gaps when a view is swapped back in in a custom tab bar implementation. Setting it to use has custom refresh control starts the table view underneath the bar. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I was experiencing an issue on iOS 11 where there was a gap above the scroll view before the navigation bar. The solution for me was the following code. It seems that in addition to the content inset TLY was adding, iOS was then adding another inset which can be seen in the new variable adjustedContentInset
https://developer.apple.com/documentation/uikit/uiscrollview/2902259-adjustedcontentinset
This was my solution
The text was updated successfully, but these errors were encountered: