| iphone Programming Glossary: cantrecordalertHow do I record audio on iPhone with AVAudioRecorder? http://stackoverflow.com/questions/1010343/how-do-i-record-audio-on-iphone-with-avaudiorecorder  recorder.meteringEnabled YES BOOL audioHWAvailable audioSession.inputIsAvailable if audioHWAvailable UIAlertView cantRecordAlert UIAlertView alloc initWithTitle @ Warning   message @ Audio input hardware not available   delegate nil  cancelButtonTitle.. @ Warning   message @ Audio input hardware not available   delegate nil  cancelButtonTitle @ OK  otherButtonTitles nil cantRecordAlert show cantRecordAlert release return start recording recorder recordForDuration NSTimeInterval 10 void stopRecording recorder.. Audio input hardware not available   delegate nil  cancelButtonTitle @ OK  otherButtonTitles nil cantRecordAlert show cantRecordAlert release return start recording recorder recordForDuration NSTimeInterval 10 void stopRecording recorder stop NSURL url NSURL.. 
 Delay in Recording using avaudiorecorder  [closed] http://stackoverflow.com/questions/7804177/delay-in-recording-using-avaudiorecorder  audioRecorder.meteringEnabled YES BOOL audioHWAvailable audioSession.inputIsAvailable if audioHWAvailable  UIAlertView cantRecordAlert  UIAlertView alloc initWithTitle @ Warning   message @ Audio input hardware not available   delegate nil  cancelButtonTitle.. Warning   message @ Audio input hardware not available   delegate nil  cancelButtonTitle @ OK  otherButtonTitles nil  cantRecordAlert show  cantRecordAlert release  return  audioRecorder recordForDuration NSTimeInterval 25 NSLog @ recording   record code.. input hardware not available   delegate nil  cancelButtonTitle @ OK  otherButtonTitles nil  cantRecordAlert show  cantRecordAlert release  return  audioRecorder recordForDuration NSTimeInterval 25 NSLog @ recording   record code finished  else recordButton.. 
 |