Instance Method

accessibilityAttributedScrollStatusForScrollView:

Returns an attributed string describing the content at the current offset in the scroll view.

Declaration

- (NSAttributedString *)accessibilityAttributedScrollStatusForScrollView:(UIScrollView *)scrollView;

Parameters

scrollView

The scroll view containing the content.

Return Value

An attributed string describing the content.

Discussion

Your implementation of this method returns a description of the content that is currently visible in the scroll view. Use this method (instead of the accessibilityScrollStatusForScrollView: method) when you want to include attributes that specify which language to use when speaking the text. For more information, see UIAccessibilitySpeechAttributeLanguage.

See Also

Providing Descriptive Information

- accessibilityScrollStatusForScrollView:

Returns a string describing the content at the current offset in the scroll view.