设置Layer一下属性可以改变锯齿问题
hqLayer.magnificationFilter = kCAFilterNearest;
hqLayer.contentsScale = [UIScreen mainScreen].scale;
hqLayer.magnificationFilter = kCAFilterNearest;
hqLayer.contentsScale = [UIScreen mainScreen].scale;
本文标题:iOS-解决Layer绘制锯齿问题
本文链接:https://www.haomeiwen.com/subject/wysqwttx.html
网友评论