- 在info.plist中打开抗锯齿,但是会对影响整个应用的渲染速度;
Renders with edge antialisasing = YES (UIViewEdgeAntialiasing) Renders with group opacity = YES (UIViewGroupOpacity)
- View.layer.shouldRasterize = YES;
图片出现锯齿
最新推荐文章于 2022-06-07 14:13:29 发布
Renders with edge antialisasing = YES (UIViewEdgeAntialiasing)
Renders with group opacity = YES (UIViewGroupOpacity)