Open rome753 opened 2 years ago
你好,使用YYTextView,输入多行后选择文本时会偶现崩溃,出现在YYTextEffectWindow类的这个方法里
机型6s,系统14.2
页面有右滑退出,页面刚创建(没有文本)马上按YYTextView显示放大镜,然后往右拖动,基本必现崩溃。建议加个不显示放大镜的方法。
在上面崩溃的代码前添加如下判断也可以解决问题 if ([window.layer respondsToSelector:@selector(renderInContext)] == NO) { NSLog(@"window layer被释放了"); break; }
你好,使用YYTextView,输入多行后选择文本时会偶现崩溃,出现在YYTextEffectWindow类的这个方法里
机型6s,系统14.2