Interface UIScrollViewAccessibilityDelegate

  • All Superinterfaces:
    UIScrollViewDelegate

    public interface UIScrollViewAccessibilityDelegate
    extends UIScrollViewDelegate
    Provide a custom status string when VoiceOver scrolls with accessibilityScroll: For example, in a bookcase user interface that displays a list of books, you can implement this protocol to announce "Showing books 10 through 20". By default, VoiceOver will announce "Page X of Y" when scrolling.
    • Method Detail

      • accessibilityScrollStatusForScrollView

        default java.lang.String accessibilityScrollStatusForScrollView​(UIScrollView scrollView)
      • accessibilityAttributedScrollStatusForScrollView

        default NSAttributedString accessibilityAttributedScrollStatusForScrollView​(UIScrollView scrollView)
        If an object adopting this protocol responds to this method, the system will try sending it before sending its non-attributed version.