Make gradient on iPhone/iPad
Рубрики: Apple, Mac OS X, iPad, iPhone on May.30, 2010
It’s easy! As of iPhone SDK 3.0, custom gradients can be implemented very easily, without subclassing or images, by using the new CAGradientLayer
add framework
#import < QuartzCore/QuartzCore.h>
so, example:


