rome753

Results 3 comments of rome753

页面有右滑退出,页面刚创建(没有文本)马上按YYTextView显示放大镜,然后往右拖动,基本必现崩溃。建议加个不显示放大镜的方法。 在上面崩溃的代码前添加如下判断也可以解决问题 if ([window.layer respondsToSelector:@selector(renderInContext)] == NO) { NSLog(@"window layer被释放了"); break; }

> extension UIView { > func keepCenterAndApplyAnchorPoint(_ point: CGPoint) { > > guard layer.anchorPoint != point else { return } > > var newPoint = CGPoint(x: bounds.size.width * point.x, y:...

You can find in google's tutorial -- https://codelabs.developers.google.com/codelabs/webrtc-web/#0