I have a UIImagePickerController which I use to record video. now i want to detect when the user taps on record button. the delegate doesn’t provide any such callback.
Is there any good way to find out when the video is being recorded?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re right: the delegate doesn’t receive any information on when video capture is happening. The easy solution is to simply roll your own camera controls—setting the
showsCameraControlsproperty toNOand providing your own controls in a custom view with thecameraOverlayViewproperty—and have your “capture” button call the image picker controller’s-startVideoCaptureand-stopVideoCapturemethods, along with providing whatever notification you need to other parts of the app.