Objective-C iPhone - UIImagePickerController 错误
我正在用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
很多人都见过这个错误。然而,它实际上似乎不会对您的应用程序产生任何负面影响。所以不用担心,希望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.