mediaremoted 在 iOS5 中给出属性列表错误
我有一个正在迁移到 iOS5 的应用程序,在模拟器中运行时,我看到大量这样的消息:
10/25/11 10:34:43.002 AM mediaremoted: Property list invalid for format: 200 (property lists cannot contain NULL)
10/25/11 10:34:43.003 AM mediaremoted: Property list invalid for format: 200 (property lists cannot contain NULL)
在我使用以下代码将电影加载到 MPMoviePlayerViewController 后立即发出:
if (moviePath)
{
movieURL = [NSURL fileURLWithPath:moviePath];
// this next line will throw these messages
MPMoviePlayerViewController *mpvc = [[MPMoviePlayerViewController alloc] initWithContentURL:movieURL];
[view presentMoviePlayerViewControllerAnimated:mpvc];
[(AppDelegate *)[[UIApplication sharedApplication] delegate] setMoviePlayerVC:mpvc];
}
我根本不清楚什么“属性列表”是导致此错误消息的原因,因为此时似乎没有读取任何内容。我倾向于相信这可能是一个转移注意力的事情。任何想法都会有帮助
I have an app I'm migrating to iOS5, when running in the simulator, I see a slew of messages like this:
10/25/11 10:34:43.002 AM mediaremoted: Property list invalid for format: 200 (property lists cannot contain NULL)
10/25/11 10:34:43.003 AM mediaremoted: Property list invalid for format: 200 (property lists cannot contain NULL)
being issued right after I load a movie into a MPMoviePlayerViewController with the following code:
if (moviePath)
{
movieURL = [NSURL fileURLWithPath:moviePath];
// this next line will throw these messages
MPMoviePlayerViewController *mpvc = [[MPMoviePlayerViewController alloc] initWithContentURL:movieURL];
[view presentMoviePlayerViewControllerAnimated:mpvc];
[(AppDelegate *)[[UIApplication sharedApplication] delegate] setMoviePlayerVC:mpvc];
}
it's not at all clear to me what "property list" is responsible for this error message, as none seems to being read at this point. I'm inclined to believe that this may be a red-herring. Any thoughts would be helpful
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论