Skip to content
Permalink
Browse files
CB-9249 Fix iOS warnings in Media Capture plugin Part 2
  • Loading branch information
macdonst committed Sep 2, 2015
1 parent 4c85fa5 commit 73e87aa86444af2fb3866b2aaaca2a1ab2bf1007
Showing 1 changed file with 1 addition and 1 deletion.
@@ -516,7 +516,7 @@ - (void)imagePickerController:(UIImagePickerController*)picker didFinishPickingM
result = [self processImage:image type:cameraPicker.mimeType forCallbackId:callbackId];
} else if ([mediaType isEqualToString:(NSString*)kUTTypeMovie]) {
// process video
NSString* moviePath = [[info objectForKey:UIImagePickerControllerMediaURL] path];
NSString* moviePath = [(NSURL *)[info objectForKey:UIImagePickerControllerMediaURL] path];
if (moviePath) {
result = [self processVideo:moviePath forCallbackId:callbackId];
}

0 comments on commit 73e87aa

Please sign in to comment.