Is a VCR running in the background on an iOS 4 iphone?

Am I developing an application that requires recording video in the background when a user listens to a music player in the application? Is it possible to automatically start the iphone VCR in the background without prompting the user to press the record button?

+3
source share
4 answers

Take a look at the new AV Foundation framework in iOS 4.0, this framework provides (low-level) access to capture video from the camera (s).

The main class you'll need to use is AVCaptureSession, and you must set the output to either AVCaptureMovieFileOutputor AVCaptureVideoDataOutput.

: AV Foundation

+2

, . Apple API , . .

+4

ios 4, : 1. , , 2. screendimmer, , 3. , "" , , , , .

, - ios

0

Launch the No Video app, click the red icon at the bottom to start recording, then left to show a normal black image while continuing to record video.

-5
source

Source: https://habr.com/ru/post/1766712/


All Articles