掘友等级
获得徽章 0
iOS用 AVPlayer 做超过 2 倍速后,界面就会卡住,有做过高倍速播放的大佬,给分享一下经验呗。
刷掘金刷到坐过站,地铁来了不知道自己要去哪?掘金真魔性
#define WeakSelf(type) __weak typeof(type)weak##type = type
#define StrongSelf(type) __strong typeof(type)type = weak##type
这样写为什么可以在block里面直接用self调用而不会产生循环引用。