© Wallace Wang 2019
Wallace WangPro iPhone Development with Swift 5https://doi.org/10.1007/978-1-4842-4944-4_19

19. Understanding SiriKit

Wallace Wang1 
(1)
San Diego, CA, USA
 

In the previous chapter, you learned how to do simple speech recognition. However since there are multiple ways to say the same thing, recognizing voice commands can be difficult when commands get more complex than simple one-word options. To help your app recognize more complicated voice commands, you can add the features of Siri to your app through the SiriKit framework.

Siri essentially takes care of the difficult task of recognizing words and turning them into commands. Then your app has the task of responding to voice commands identified through Siri. Once your app identifies ...

Get Pro iPhone Development with Swift 5: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.