LoginSignup
23
21

More than 5 years have passed since last update.

SwiftでSiriに喋ってもらった

Last updated at Posted at 2014-06-17

AVSpeechSynthesizerを使ってSwiftでSiriを喋らせてみました。
ただ喋らせるだけのところまでではObjective-Cと書き方の違いはありませんでした。
今までSiriに触ったことのない方はSwiftを機会にやってみてはいかがでしょうか。面白いです。
サンプルコードをgithubにあげておきましたので、参考にしてみてください。SwiftSiri
2014-06-17 22.07.56.png

なお、動作検証の結果シミュレーターではSiriが動かないようなので実機で実行してみてください。

23
21
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
21