Objective-C iPhone - UIImagePickerController 错误

发布于 2024-08-20 17:09:25 字数 529 浏览 3 评论 0原文

我正在用 UIImagePickerController 做一些事情。

它工作正常并且图片浏览器确实打开,但是我收到此消息。 “无法将视频元数据保存到文件系统。可能该信息不符合 plist。”

可能是什么原因造成的?这是由这条线引起的 [self PresentModalViewController:self.imgPicker 动画:YES];这是通过单击按钮激活的

我下面的代码片段。

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

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

谢谢, 球座

I'm doing something with UIImagePickerController.

It works 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丑丑阿 2024-08-27 17:09:25

很多人都见过这个错误。然而,它实际上似乎不会对您的应用程序产生任何负面影响。所以不用担心,希望Apple在下一个SDK中修复它。

这是 Apple 开发者论坛上关于它的主题(需要 Apple iPhone 开发者帐户)
https://devforums.apple.com/message/144567#144567

没有解决方案据我所知。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文