How to work with voice over in objective-C?

时间:2016-04-04 18:53:14

标签: objective-c

Its the first time when I work with voice over on objective c. i'm trying to make some simple app for blind community. tell me necessary classes and methods to work with voice? what should my application to except play and pause voice? please show me main protocols and methods with examples. Full tutorial will be appreciated :-) video will be perfect

1 个答案:

答案 0 :(得分:0)

You just need to make the elements in your app accessible in the accessibility tree. By default they are all set to YES, so all the elements are ready by voice over. You don't have to write any code for that.

However you need to write code to post accessibility notifications, and to make some elements not read by voice over.

You can change the voice over settings in the device accessibility settings.

Please read the Apple's Documentation regarding the UIAccessibility.