title: How to get image path from photo library and how to retrieve the image from photo library in iphone?
body: <p>I'm new to iphone. In my small application, how to get image path from photo library. I use this following code to getting images and placed in imageview. </p>
  
  <pre><code>-(IBAction) selectimage
  {
  UIImagePickerController *picker=[[UIImagePickerController alloc] init];
  picker.delegate=self;
  picker.sourceType=UIImagePickerControllerSourceTypeSavedPhotosAlbum;
  [self presentModalViewController:picker animated:YES];
  [picker release];
  }
  -(void) imagePickerController:(UIImagePickerController *)UIPicker didFinishPickingMediaWithInfo:(NSDictionary *) info
  {
  [UIPicker dismissModalViewControllerAnimated:YES];
  imageview.image=[info objectForKey:"UIImagePickerControllerOriginalImage"];
      NSLog("Image Path=%@",imageview.image);
  }
  </code></pre>
  
  <p>Its succefully placed to Imageview. But i cant get its imagepath. I'm using nslog("%@",imageview.image); it shows "Image Path=" in console.
  How can i get its path and how to retrieve photos from photo library. Any body help me. Thanks in advance.</p>