iOS multitasking for an Audio Recording application

前端 未结 3 1064
别那么骄傲
别那么骄傲 2020-12-01 00:42

I am writing an application that records audio. I am looking into the feasibility of supporting multitasking while doing audio recordings (in the background).

The an

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-01 00:58

    Apple appears to have been accepting apps for iOS4 which continue to record audio when put in the background, so this may be an existence proof. The app has to declare itself as background audio capable, pre-allocate all audio resources and start the audio recording before the app gets backgrounded, and also expect to get killed if its memory or audio resources are required by the foreground app. So any use of system resources should be the absolute minimum.

提交回复
热议问题