I want to draw a UiView's background use shader color.So I find the QuartzDemo.But I want to set the shader from white to red at horizontal and from white to black at vertical direction. What can I do that ??? Need you help.Thank you in Advance!
Asked
Active
Viewed 102 times
0
-
1Use two layers with transparency? – David Rönnqvist Dec 25 '12 at 10:53
-
If use two layers then I can not pick color in it.I find a easy Demo that match me.https://github.com/ricktrapp/GradientPicker – Domlin Dec 26 '12 at 07:39