title: UIImagePickerControllerMediaURL always nil?
body: <p>I'm trying to pick a video from PhotoAlbum. I'm using the <code>UIImagePickerController</code> but every time after i chose the video <code>UIImagePickerControllerMediaURL</code> is returning <code>nil</code>.</p>
  
  <p>What I am missing?</p>
  
  <p>Thanks.</p>
  
  <pre><code>    - (IBAction)galerry:(id)sender {
  
      self.imagePickerController = [[UIImagePickerController alloc] init];
      [self.imagePickerController setDelegate:self];
  
      self.imagePickerController.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
      self.imagePickerController.mediaTypes =@[(NSString *)kUTTypeMovie,(NSString *)kUTTypeVideo];
      [self.imagePickerController setVideoMaximumDuration:20];
      self.imagePickerController.allowsEditing = YES;
      [self presentViewController:self.imagePickerController animated:YES completion:nil];
  
  
  }
  
  
  
  
  
  - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
  {
      NSURL *videoURL= [info objectForKey:UIImagePickerControllerMediaURL];
      NSURL *videoUrl=(NSURL*)[info objectForKey:UIImagePickerControllerMediaURL];
      NSString *moviePath = [videoUrl path];
  
      NSURL *imagePickerURL = [info objectForKey:UIImagePickerControllerMediaURL]; 
  
       NSURL *videoURL2= [info valueForKey:UIImagePickerControllerMediaMetadata];
  
  
  //    picker.videoQuality=UIImagePickerControllerQualityTypeMedium;
  
      [picker dismissViewControllerAnimated:YES completion:^{
          Edition *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"EditionVC"];
          vc.videoUrl=videoURL;
          [self presentViewController:vc animated:YES completion:nil];
  
      }];
  
  
  
  }
  </code></pre>
  
  <p>All variables returning <code>nil</code> (videoURL,videoUrl,imagePickerURL,videoURL2). 
  What is wrong here?</p>
  
  <p>EDIT:</p>
  
  <p>This is my info dictionary:</p>
  
  <pre><code>    po info
  {
      UIImagePickerControllerMediaType = "public.movie";
      UIImagePickerControllerReferenceURL = "assets-library://asset/asset.MOV?id=87B8D3F5-DE9C-4F06-A88B-5116055A618A&amp;ext=MOV";
  }
  </code></pre>