iOS 録音 再生 実装
■ ライブラリ追加
AVFoundation Framework
■ ヘッダーファイルにimportしインターフェイスへ定義
#import <AVFoundation/AVFoundation.h> @interface ViewController : UIViewController<AVAudioRecorderDelegate,AVAudioPlayerDelegate>{ AVAudioRecorder *avRecorder; AVAudioPlayer *avPlayer; }
■ あとはボタン実装して中にこの通りかくだけ
http://sarudeki.jp/matsuhouse/2012/06/11/iphone%E3%81%A7%E9%8C%B2%E9%9F%B3%E5%86%8D%E7%94%9F%E3%81%99%E3%82%8B/
参考 )
http://sarudeki.jp/matsuhouse/2012/06/11/iphone%E3%81%A7%E9%8C%B2%E9%9F%B3%E5%86%8D%E7%94%9F%E3%81%99%E3%82%8B/
http://d.hatena.ne.jp/shu223/20110301/1299904208
http://d.hatena.ne.jp/glass-_-onion/20090926/1253960772