'when i scroll down viewController shaking
Hello guys ,I have problem when i try scrolling down my viewcontroller shaking ,i couldn't find error.In other view controller haven't errors like this... How i can fix it?
scrollView.contentInsetAdjustmentBehavior = .never
setupBaseElement(for: view, customView: personInfoView)
setupViews()
setupSignals()
view.hideKeyboardWhenTappedAround()
Solution 1:[1]
Not sure if you're scrolling down past the bottom offset there, and that's the cause of your issue, but. If it is, you could try setting:
scrollView.bounces = false
Solution 2:[2]
I changed the bottom constraint layout of my scroll view to be relative to the Safe Area instead of its superview and that fixed this issue in my case.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | jake |
Solution 2 | odm |