UITextView scrolls down on iPhone X on every rotation from landscape to portrait, even though it was scrolled to top initially.
- Open the attached sample project.
- Build and run on a portrait iPhone X simulator or device.
- Observe: full-screen text view (yellow background) is scrolled to top.
- Rotate to landscape.
- Observe: text view is still scrolled to top as expected.
- Rotate back to portrait.
- Observe: text view is slightly scrolled down. Expected: text view should still be scrolled to top.
Rotating back and forth scrolls the text view further and further down until it reaches the bottom of the content.
If the text view was scrolled to top it should stay scrolled to top after rotations.
Text view gets scrolled down on every rotation from landscape to portrait.
- Xcode 9.2 (9C40b)
- iOS Simulator 11.2 (15C107), iOS 11.1.2 (15B202)