Closed Aurazion closed 5 years ago
The problem occur when I scroll down and then scroll to top (see the screenshot attached).
Thanks @maxep
There are a similar problem with parallax header using tableview.
For tableview, there are a new property contentInsetAdjustmentBehavior
that you can put to .never
and it solve the problem.
Maybe you can check if there are something similar for scrollview. It should be exist.
Something like that scrollview.contentInsetAdjustmentBehavior = .never
I will try this and keep you informed, thanks @Nexmind !
@Nexmind It solve my problem thanks ! But now I've a "padding" on the top of the scrollview ? Did you know how I can delete it ? Thanks !
I had similar issue on iPhone X only with some tableview in my app. I have no real solution for the moment. What i made as quick win option is to substract padding height in my top constraint if the phone was an iPhone X.
if DeviceType.IS_IPHONE_X {
self.cstTopTableView.constant = self.cstTopTableView.constant - 25
}
Ok it's just a problem with my constraints ... It now works great ! Thanks again @Nexmind ! I will try your solution for the iPhone X :-)
Thanks @Aurazion and @Nexmind I'm struggling with this new content inset adjusment behavior... @Aurazion have you try to uncheck the content inset adjustment of your view controller?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, When I build my project with Xcode 9 / iOS11, a glitch appear when I scroll it. The same with Xcode 8 / iOS10 works great. This issue occur whith MXScrollViewController.
With the MXScrollViewController demo, there is also a problem with the UIWebView when you scroll to top. Could you check please ?
Don't hesitate to contact me.
Thanks!