title: How to access image from Asset URL in iPhone?
body: <p>I am getting asset URL from <code>NSURL* localUrl = (NSURL *)[info valueForKey:UIImagePickerControllerReferenceURL];</code> and I saved it in a local database. And at the time of retrieving I have got an string and I have convert it into NSURL through <code>NSURL *url1 = [NSURL URLWithString:image_path];</code> but when I get NSData from this URL through <code>NSData *myData = [NSData dataWithContentsOfURL:url1];</code> it return NULL. Can anyone help me to get NSData and convert it into image.   </p>