首页 > 其他 > 详细

AVPlayer 监听播放时长错误capturing 'self' strongly in this block is likely to lead to a retain cycle 的解决方法

时间:2014-02-28 14:03:26      阅读:613      评论:0      收藏:0      [点我收藏+]

__weak typeof(self) weakSelf = self;
    
	/* Update the scrubber during normal playback. */
	[weakSelf.player addPeriodicTimeObserverForInterval:CMTimeMakeWithSeconds(interval, NSEC_PER_SEC)
                                                                queue:NULL /* If you pass NULL, the main queue is used. */
                                                           usingBlock:^(CMTime time)
                      {
                          [self syncScrubber];
                      }];


连接:https://www.google.com.hk/search?q=capturing+%27self%27+strongly+in+this+block+is+likely+to+lead+to+a+retain+cycle&oq=capturing+%27self%27+strongly+in+this+block+is+likely+&aqs=chrome.1.69i57j0l5.13939j0j7&sourceid=chrome&espv=210&es_sm=119&ie=UTF-8

AVPlayer 监听播放时长错误capturing 'self' strongly in this block is likely to lead to a retain cycle 的解决方法,布布扣,bubuko.com

AVPlayer 监听播放时长错误capturing 'self' strongly in this block is likely to lead to a retain cycle 的解决方法

原文:http://blog.csdn.net/ioswyl88219/article/details/20055613

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!