Set maximum recording duration,while video recording from iphone app
问题 In my iPhone app,a user can record the video.I want to set the maximum allowed time of recording is to 30seconds.How to do that,any ideas ? using this code -(BOOL)startCameraControllerFromViewController:(UIViewController*)controller usingDelegate:(id )delegate { if (([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera] == NO) || (delegate == nil) || (controller == nil)) { return NO; } UIImagePickerController *cameraUI = [[UIImagePickerController alloc] init]