UIView to UIImage. See hardware acceleration. February 8th, 2011 Want to know which parts of your web page are hardware accelerated on Safari or Mobile Safari? It’s easy to find out. Just start Safari with… $ CA_COLOR_OPAQUE=1 /Applications/Safari.app/Contents/MacOS/Safari ..and all hardware-accelerated layers will show up in red. Same goes for Mobile Safari, in the iOS Simulator: $ CA_COLOR_OPAQUE=1 /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator Try surfing over to HTML5 Mobile Pro, and see the Core Animation layers in all their red-tinted glory.
You can mess around even more with the various Core Animation debugging flags. (Hat tip to @thijs for this handy tip!) Last index of a char. Simulate mem warnings. Customise UINavigationBar background.