Reputation: 23
My users are reading readonly text in a UITextView. When they have finished reading a selection and have scrolled to the bottom, I would like to be able to display a Completed Reading button that animates up from the bottom. How can I detect when the user has scrolled to the end of the text?
Upvotes: 1
Views: 415
Reputation: 3207
Hey just add UIScrollViewDelegate and this provide's below method that would be called as scroll end reaches.
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView;
So give it a try and let me know if anything.
Upvotes: 2