循环引用和闪屏问题 retain cycle & screenshot blinking
Icelolli opened this issue · comments
-
UIImage *(^cutOriginalBackgroundImageInRect)(CGRect frame) 会引起TBBlurEffectBlock被添加到self.blurBlocks后引起循环引用
-
[view drawViewHierarchyInRect:self.bounds afterScreenUpdates:YES]; 会造成截屏时出现闪屏现象,建议改成 afterScreenUpdates:NO
确实在真机上没有出现,我也是在模拟器上看到的