0

When VoiceOver is running, I tapped a button, or a label, it will announce something about this button or label. I want to do something when announcement completed. Is there some notifications to help me observe when the announcement is completed? Thanks!

mfaani
  • 33,269
  • 19
  • 164
  • 293
Michael Yuan
  • 73
  • 1
  • 8

1 Answers1

0

Not exactly, no. However, and this is a terrible hack, you can monitor announcements that you, yourself, issue with UIAccessibilityPostNotification() by subscripting to the UIAccessibilityAnnouncementDidFinishNotification. Provided you queue up speech at the right times, it may be a reasonable assumption that any of your announcements finishing indicates that all system announcements have ended.

Justin
  • 20,509
  • 6
  • 47
  • 58