I am using a UITextView to display a long text in ViewDidLoad():
var story1 = "Researchers on Friday introduced the stunningly realistic-looking interactive humanoid robot to the world, and she reacted by nodding her head, squinting, moving her hand and eyeballs and telling assembled local photographers, with her speech synched to her lip movements, to snap her face from a more flattering angle. Girl's got spirit. \n\nJia Jia made her public debut at the University of Science and Technology of China, where she came to life over the course of three years. While her rosy cheeks and pink lips make her look like she has blood running through her actuators, she still has a way to go before she'll be confused with a human. Her expressions are currently limited to 'microexpressions' and her speech has that distinct stiffness that screams 'I am a robot and I will one day chase you from your home'\n\......." // a very long text with many rows
self.storyTextView.text = story1
If I set Scrolling Enabled for storyTextView, the textview displays the text not from the beginning. I can see the scroll indicator in the middle (or bottom) of the text.
I tried
self.storyTextView.scrollsToTop = true
but it does not help.
If I uncheck Scrolling Enabled, or if the text is not too long to display whole text in a UITextView, it displays from the beginning as expected. See screenshot2.
Is there any way to display the long text from the beginning of the text (move scroll indicator to the top)? I checked constraints and layout but it seems not related. I did search a lot but no luck until now. I might missed some simple setting but anyone can help me out please.

