Reputation: 4089
How can i record video without opening any camera? My requirement is when a person is in problem his video is recorded but not by opening camera it should work in background.
Thanks
Upvotes: 2
Views: 925
Reputation: 38259
Use AVFoundation Framework for video capturing
.
Don't add AVCaptureVideoPreviewLayer
to see whats been recorded
in current UIView
Upvotes: 1