I have a UITextView with text that needs to be scrolled to see the complete text.
But there are paragraphs between the text blocks and it is not really obvious that the text is scrollable without starting to scroll so that the scroll indicator becomes visible. This is because the emtpy lines between paragraphs are just on the bottom of the visible text within the text view.
While I could insert some empty lines so that a text block gets broken up and the user could see that the text goes on, the issue is that the app will be translated to many languages and this solution is therefore not feasible anymore. Since all languanges would have to be tested individually and for each the empty lines will be inserted at different places.
That's why I am asking, if there is a way to indicate to the user that the shown text continues if he scrolls down - immediately when the view opens - so without the user tapping on the screen.
Many thanks
Scroll Indicator is basically a line which fills up based on how much the user has scrolled in the page. They are usually positioned at the Top of the page.
Place a panel in location where you want the label to be, set it's AutoScroll property to true. Then place the label in the panel, anchor it and set it's AutoSize property to true. This will make the panel provide the scroll bars if the label's text extends outside of the panel.
Since UITextView is a subclass of UIScrollView you can use the method flashScrollIndicators
.
This method flashes the scroll indicators of the scrollView, this is the way to show users that content is scrollable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With