开发者

Objective-C iPhone - UIImagePickerController error

开发者 https://www.devze.com 2022-12-19 06:38 出处:网络
I\'m doing something with UIImagePickerController. It works开发者_Python百科 fine and the Picture browser does open, however, I get this message.

I'm doing something with UIImagePickerController.

It works开发者_Python百科 fine and the Picture browser does open, however, I get this message. "Failed to save the videos metadata to the filesystem. Maybe the information did not conform to a plist."

What could be causing that? That is caused by this line [self presentModalViewController:self.imgPicker animated:YES]; which is activated on a button click

Snippets of the code that I have below.

- (void)viewDidLoad {
    self.imgPicker = [[UIImagePickerController alloc] init];
    self.imgPicker.allowsImageEditing = YES;
    self.imgPicker.delegate = self;  
}

- (IBAction)grabImage {
    [self presentModalViewController:self.imgPicker animated:YES];
}

Thanks, Tee


Many people have seen that error. It appears to not actually have any negative impact on your app, however. So don't worry about and hope Apple fixes it in the next SDK.

Here's a thread on the Apple dev forums about it (Apple iPhone developer account required) https://devforums.apple.com/message/144567#144567

No solutions have turned up to my knowledge.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号