开发者

UIImagePickerController Video countdown timer

开发者 https://www.devze.com 2023-01-11 12:19 出处:网络
I am using the UIImagePickerController to let the user record video. The duration is limited to 10 seconds. I want to display a countdown in the corner while they are recording though so they know how

I am using the UIImagePickerController to let the user record video. The duration is limited to 10 seconds. I want to display a countdown in the corner while they are recording though so they know how long they have left. I am able to add this using the cameraOverlayView prop开发者_StackOverflow中文版erty. But I can't find anyway to get a call when they hit the record button (so that I can start my timer to update my countdown).

Does anyone know how to do this?

Thanks in advance

0

精彩评论

暂无评论...
验证码 换一张
取 消