How to record a video automatically in Iphone app without user interaction

后端 未结 1 1824
死守一世寂寞
死守一世寂寞 2021-01-26 16:59

I am working an iphone app that needs to record a vedio automatically.

I used mobile coreservices framework and using that. I made it to came into video mode and clicki

1条回答
  •  旧时难觅i
    2021-01-26 17:09

    You can look at UIImagePickerControllers startVideoCapture method which is used to start taking video from the camera, this is to be used when you arent using the camera standard controlors and you provide and overlay view. Here is a reference UIImagePickerCOntroller ref. If this is not enough for you, you might want to look into AVFoundation framework which gives you a lot more control over video capturing process...hope that helps

    0 讨论(0)
提交回复
热议问题