According the iOS CAGradientLayer docs, the type property only has a single valid value, kCAGradientLayerAxial, which also happens to be the default. The purpose of this property is a mystery to me, as I am wanting to implement a radial CAGradientLayer without overriding drawLayer: inContext, and was hoping to find something akin to kCAGradientLayerRadial. Any illumination appreciated.
According the iOS CAGradientLayer docs , the type property only has a single valid
Share
It allows Apple to add new types of gradient later without breaking API compatibility with existing programs.