【发布时间】:2015-03-04 09:02:31
【问题描述】:
我将UIImage 加载到UIImageView 中。 UIImage 比 UIImageView 大,并且已按比例缩小以适合。显然,缩小的UIImage 显示出锯齿状边缘。
在性能方面对该图像进行抗锯齿处理的最佳方法是什么?
我见过this method using drawInRect 但I've also read that drawInRect does not give the best performance。
我已经阅读了几篇不同的文章,并且我自己也尝试了一些方法。但是在阅读了few more posts 关于使用UIViews 和Core Graphics 之间的性能差异之后,我想知道哪种图像抗锯齿方法可以提供最佳性能?
【问题讨论】:
标签: ios performance uiimageview uiimage antialiasing