iOS: Improving speed of image drawing
问题 I have a sequence of images that I want to animate ( UIImageView supports some basic animation but it's not sufficient for my needs). My first approach was to use UIImageView and set the image property when the image. This was too slow. The reason for the poor speed was due to the drawing of the images (which surprised me; I assumed the bottle neck would be loading the image). My second approach was to use a generic UIView and set view.layer.contents = image.CGImage . This gave no noticeable