Code 4: NSCocoa domain error
I have an app working fine with the UIImagePicker...but then i added this code:
- (void)imagePickerControllerUIImagePickerControll er *)picker didFinishPickingMediaWithInfoNSDictionary*)info{
imageView.image = [info objectForKey:@"UIImagePickerControllerOriginalImag e"];
[[picker parentViewController] dismissModalViewControllerAnimated:YES];
}
The error is:
File Removal Failed:ErrorDomain=NSCococaErrorDomain Code 4.
The app doesnt crash, but the resulting photo is not presented properly as selected. The picture is selected from the camera roll and it doesnt scroll much.
|