`CAGradientLayer` is a special purpose `CALayer` subclass for drawing animatable linear gradients.
I'm adding a CAGradientLayer to a view. When the view is auto-resized (such as after a rotation) the gradient layer …
ios objective-c cocoa-touch cocoa cagradientlayerI have custom UIView class that renders a gradient in Swift 2. I'm struggling with making an angled gradient so that …
swift uiview swift2 gradient cagradientlayerI have created CAGradientLayer having three colors, i need to give each color different locations. Example: Red = 0 to 50 % Yellow = 51 to 80 % …
ios core-graphics linear-gradients cagradientlayerOn a CAShapeLayer, I've drawn a closed UIBezierPath. I can fill this shape by setting the fillColor, however I want …
ios uibezierpath cagradientlayerI am trying to draw angular gradient using CaGradientLayer. I know angle can be defined using startPoint and endPoint. I …
ios objective-c gradient linear-gradients cagradientlayerI have a UIViewController where I create a background gradient with CAGradientLayer *gradient = [CAGradientLayer layer]; ... gradient.frame = frame; self.backGradient = …
ios cocoa-touch core-animation cagradientlayerI extended UIView to add a addGradientWithColor() method to get the gradient background: extension UIView { func addGradientWithColor() { let gradient = CAGradientLayer() …
ios objective-c uiview swift3 cagradientlayerI have an UIButton here where I'd like to have a gradient as the background below the image (symbol with …
ios uibutton calayer cagradientlayeris it possible to create a custom ui progress view with a gradient from left to right? I've tried it …
ios gradient progress uiprogressview cagradientlayer