LA_
LA_

Reputation: 20429

How can I control my application with built-in voice control?

Let's say I develop audio player for iPod Touch 4/iPhone. Currently it can be controlled with standard panel (double click Home and scroll left). But how can I control that with built-in voice control (long click on Home)?

Upvotes: 6

Views: 440

Answers (2)

XLE_22
XLE_22

Reputation: 5671

how can I control that with built-in voice control

There's a new iOS 13 feature called Voice Control that may help you to control your application and your device more generally with your voice.

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

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

The only thing to do as a developer is eventually to adapt the accessibilityUserInputLabels properties if you need specific names to be displayed for some items.

The Voice Control feature is definitely THE built-in tool to reach your purpose.

Upvotes: 0

Randall
Randall

Reputation: 14849

Apple has a VoiceServices framework (more info here) that may do what you want. Unfortunately, the VoiceServices framework is not part of the public SDK and it can't be used in apps submitted to the store.

Upvotes: 1

Related Questions