I'm using UIImagePickerController to pick a video(I'm limiting the video length to 1 minute) from gallery. Here is my code:
- (void)chooseExistingVideo {
CFStringRef mTypes[1] = { kUTTypeMovie };
CFArrayRef mTypesArray = CFArrayCreate(CFAllocatorGetDefault(), (const void**)mTypes, 1, &kCFTypeArrayCallBacks);
imagePickerController.mediaTypes = (__bridge NSArray*)mTypesArray;
CFRelease(mTypesArray);
imagePickerController.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
imagePickerController.videoMaximumDuration = 60.0f;
imagePickerController.allowsEditing = YES;
[self presentViewController:imagePickerController animated:YES completion:nil];
}
When i choose a video which is 5 minutes length the screen is coming like this:
In this screen is it possible to change the text of 'Video Too Long to Send' message to 'Video Too Long to Add' or is there any way to get rid of the entire message?
I need your valuable suggestions.
Please help me.
Thanks in advance.