我收到此错误
*** -[CFDictionary objectForKey:]: message sent to deallocated instance 0x82a2730
当我试图在停止后启动录音机时。
这是我在做的时候得到的:
#0 0x00b49e1e in ___forwarding___ ()
#1 0x00b49ce2 in __forwarding_prep_0___ ()
#2 0x00d91223 in getUInt32ForKey ()
#3 0x00d928a6 in prepareToRecordQueue ()
#4 0x00d93023 in recordQueue ()
#5 0x00d91d03 in -[AVAudioRecorder record] ()
答案 0 :(得分:0)
知道了!我的错误,我错误地发布了audiorecorder的设置!! :-O
NSDictionary * recordSettings = [NSDictionary dictionaryWithObjectsAndKeys:...]; theAudioRecorder_ = [[AVAudioRecorder alloc] initWithURL:soundFileUrl 设置:recordSettings 误差:无];
[recordSettings release];