audio - AVAudioRecorder not recording in iOS -


i have made app(dictation) having audio functionalities such recording, overwriting & playing audio files. have used avaudiosession recording & playback , have locally saved audio files(.m4a) , send them server. make recording works in background, have added uibackgroundmodes in plist file , worked fine. recording after pause failed on conditions.

steps reproduce :

1) start audio recording on 00:00 minute , pause recording on 02:00 minutes. total file size approximately 0.45 mb , has been stored in app documents(sandbox). 2) after pause, have made device sleep mode tapping power button , come app same screen. continued recording pause , recording continues file did not writing local file , file size remains @ 0.45 mb.

if remove uibackgroundmodes plist, above steps worked fine recording audio in background wouldn't working since app not have uibackgroundmodes audio.

how continue audio recording after pause & device sleep mode?

much appreciate support.

thank in advance.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -