I use the UIImagePickerController to take photo or to select it from an album. Here I put the selected image to the imageView :
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
UIImage *chosenImage = info[UIImagePickerControllerEditedImage];
self.temporaryImageView.image = chosenImage;
[picker dismissViewControllerAnimated:YES completion:NULL];
}
But How can i get the address of the selected photo on the device? or the name of it? Is it possible?