AVFoundation.frameworkを使って実装する。 「録音」は音声をファイルとして保存すること、「再生」は音声ファイルを再生すること、で実現できる。これが標準的な方法のような気がする。 音声の記録 Sample.cafファイルとして保存するための準備は以下のように行う。コア・オーディオ・ファイル(caf)はiOS用の音声形式らしい(iPhoneアプリ開発のためのサウンドフォーマットまとめ | ぱーくん plus idea)。 AVAudioRecorder *ar; NSString *dir = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]; path = [NSString stringWithFormat:@"%@/Sample.caf", dir]; NSURL *url = [NSURL