diff --git a/ios-7-programming-cookbook-source-codes-master/Chapter 15/Taking Videos with the Camera/Taking Videos with the Camera/ViewController.m b/ios-7-programming-cookbook-source-codes-master/Chapter 15/Taking Videos with the Camera/Taking Videos with the Camera/ViewController.m index 9d600bf..4ed8d45 100644 --- a/ios-7-programming-cookbook-source-codes-master/Chapter 15/Taking Videos with the Camera/Taking Videos with the Camera/ViewController.m +++ b/ios-7-programming-cookbook-source-codes-master/Chapter 15/Taking Videos with the Camera/Taking Videos with the Camera/ViewController.m @@ -70,7 +70,7 @@ - (void) imagePickerController:(UIImagePickerController *)picker if ([mediaType isEqualToString:(__bridge NSString *)kUTTypeMovie]){ - NSURL *urlOfVideo = info[UIImagePickerControllerMediaType]; + NSURL *urlOfVideo = info[UIImagePickerControllerMediaURL]; NSLog(@"Video URL = %@", urlOfVideo);