开发者

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 wit开发者_如何学JAVAh built-in voice control (long click on Home)?


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.


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:

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

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜