iphone - Gradient backgrounds -


When it is recommended to use the shield made by the iPhone and when an image is a better option?

Something similar asks. Along with the most performing questions, to determine whether it is a time-consuming tool for optimization, you get the best service using the tools and other tools.

As I mentioned, I saw a significant amount of time spent on launching a radial gradients in the quartz function on the iPhone 3G while launching in quartz function. By switching to an image, I was able to clearly reduce the startup time of my application. However, a new image will need to be prepared for each larger display size, so for new devices (iPad, iPhone 4), I use quartz radial grade again once again due to negligible rendering time on those systems.

For the linear shield, it has been my experience that a CAGradientLayer gives you good performance and scalability for new offers, but then you will need to test it in your special application.


Comments