-[MPTransportButton _isChargeEnabled]:消息发送到已释放实例0x4bf6cb0 [英] -[MPTransportButton _isChargeEnabled]: message sent to deallocated instance 0x4bf6cb0

查看:105
本文介绍了-[MPTransportButton _isChargeEnabled]:消息发送到已释放实例0x4bf6cb0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MPMoviePlayerViewController播放视频.视频播放器将显示为presentModalViewController.如果视频播放完毕并且视图被关闭.我收到错误消息:

I'm using the MPMoviePlayerViewController to play a video. The videoplayer will shown as presentModalViewController. If the video is finished and the view is dismissed. I get the error :

 -[MPTransportButton _isChargeEnabled]: message sent to deallocated instance 0x4bf6cb0

但是我不知道错误在哪里.

But I have no idea, where the error comes.

谢谢.

问候,

帕特里克

推荐答案

消息显示:其值存储在0x4bf6cb0的类MPTransportButton的对象已释放,然后再次使用.

The message says: object of class MPTransportButton whose value was stored at 0x4bf6cb0 has been released and then used again.

因此,您需要找到已释放然后重用的类型为MPTransportButton的对象.

So, you need to find object of type MPTransportButton that was released and then reused.

这篇关于-[MPTransportButton _isChargeEnabled]:消息发送到已释放实例0x4bf6cb0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆