Asks the delegate if the scroll view should scroll to the top of the content.
- iOS 2.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The scroll-view object requesting this information.
YES to permit scrolling to the top of the content,
NO to disallow it.
If the delegate doesn’t implement this method,
YES is assumed. For the scroll-to-top gesture (a tap on the status bar) to be effective, the
scrolls property of the
UIScroll must be set to YES.