VoiceOver accessibility label for Touch ID

后端 未结 3 559
情歌与酒
情歌与酒 2021-01-21 00:42

I am trying to ensure that the iOS app that I am working on is accessible and am trying to implement VoiceOver to ensure this.

One strange thing that I cannot find any h

3条回答
  •  醉梦人生
    2021-01-21 01:28

    Starting with iOS 11, you can set the element's accessibilityAttributedLabel and use the UIAccessibilitySpeechAttributeIPANotation key (Swift: NSAttributedString.Key.accessibilitySpeechIPANotation) to specify the pronunciation for a range of the attributed string.

    See "Speech Attributes for Attributed Strings" for other tools you can use to tweak how VoiceOver reads your text.

提交回复
热议问题