I am using the method below to get an image. What is the 'info' format and how am I going to save it into NSURL? I want to save the NSURL of the image into my core data.
-(void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info{
[picker dismissModalViewControllerAnimated:YES];
self.photo = [info objectForKey:UIImagePickerControllerEditedImage];
}