gpt4 book ai didi

ios - 将应用程序置于后台时 MPMoviePlayerViewController 被解雇

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:21:57 24 4
gpt4 key购买 nike

我正在使用 MPMoviePlayerViewController 作为模态视图 Controller 播放视频,但注意到在应用程序暂停(按下主页按钮)时,它会自动关闭(按下主页按钮几秒钟后, before app resumed)并且显示了我之前的 View Controller 。来自 another question ,似乎实际上它应该正确暂停/恢复而不是解散。它对我来说表现不同的原因可能是什么(iOS 6.1.3、iPhone 4)?

最佳答案

你可能一直在使用ARC,在.m文件中声明了MPMoviePlayerController对象,在.h文件中声明对象和属性为retain,nonatomic,并合成该对象。

关于ios - 将应用程序置于后台时 MPMoviePlayerViewController 被解雇,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16775297/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com