@Describe the bug
Once I access ScrollingNavigationController's bottomLayoutGuide.length (even just print it), the awsome scrolling behaviour will be broken. I know bottomLayoutGuide was deprecated, but another library I used called this property.
- This only happened with iOS14, Xcode12.0.
- If I changed to use
safeAreaInsets.bottom, this fixed.
To Reproduce
Steps to reproduce the behavior:
- Clone the source code, open demo project.
- In any child view controller , call
navigationController?.bottomLayoutGuide.length
Expected behavior
Scrolling behaviour goes well as usual.
Screenshots
Here are the reproduction codes

@Describe the bug
Once I access ScrollingNavigationController's
bottomLayoutGuide.length(even just print it), the awsome scrolling behaviour will be broken. I knowbottomLayoutGuidewas deprecated, but another library I used called this property.safeAreaInsets.bottom, this fixed.To Reproduce
Steps to reproduce the behavior:
navigationController?.bottomLayoutGuide.lengthExpected behavior
Scrolling behaviour goes well as usual.
Screenshots
Here are the reproduction codes