How can I achieve fast frame rate of a JPG image display on iOS? <p>I've been able to get nearly 10 FPS on iPhone 3GS of solid JPG switching, but I've seen faster is possible with GPU and CALayer. Can you help me determine how to achieve this? I’ve tried some various stuff below.</p> <p>Here’s what I’ve been using…</p> <pre><code>#define FPS 12.0 [NSTimer scheduledTimerWithTimeInterval:(1.0 / FPS) target:self selector:@selector(animateMethod:) userInfo:nil repeats:YES]; </code></pre> <p>Please note the method baseImagePath returns different paths for each invocation.</p> <pre><code>- (void)animateMethod:(NSTimer *)timer { self.imageView.image = [UIImage imageWithContentsOfFile:[self baseImagePath]]; } </code></pre> <p>Here’s what I’ve tried…</p> <pre><code>- (void)animateMethod:(NSTimer *)timer { self.layerView.layer.contents = [(__bridge id)([[UIImage imageWithContentsOfFile:[self baseImagePath]] CGImage]); } </code></pre>