iOS Voice Input Implementation
Installation
SKILL.md
iOS Voice Input Implementation
iOS 17+向けSwiftUIアプリケーションにおける音声入力機能の実装ガイド。Apple Speech Framework (SFSpeechRecognizer) を使用したディクテーション機能の実装をサポートする。
Quick Start Checklist
音声入力機能を実装する際の必須手順:
-
Info.plist設定
NSMicrophoneUsageDescription- マイクアクセス理由NSSpeechRecognitionUsageDescription- 音声認識使用理由
-
フレームワークインポート
import Speech import AVFoundation