How can I control my application with integrated voice control?

Let's say I'm creating an audio player for iPod Touch 4 / iPhone. Currently, it can be controlled using the standard panel (double-click Home and scroll left). But how can I control this with integrated voice control (long press on Home)?

+6
source share
2 answers

Apple has a VoiceServices infrastructure (more info here ) that can do what you want. Unfortunately, the VoiceServices framework is not part of the public SDK and cannot be used in applications sent to the repository.

+1
source

how can i control this with the integrated voice control

There is a new iOS 13 feature called Voice Control , which can help you control your application and device in general with voice.

Activate this feature in the settings of the Accessibility - Voice Control device as follows: enter image description here

Take a look at the Customize Commands menu to dive into voice commands.

The only thing the developer needs to do is ultimately adapt the accessibilityUserInputLabels properties if certain names need to be displayed for some elements.

Voice Control is definitely a built-in tool to achieve your goals.

0
source

All Articles