Adding glowing effect to the circle
问题 I draw a circle in the drawRect method and fill it with a color. Now i need to add a glowing effect to the circle. When i click on a button, the circle needs to glow. How can i do this? Any help will be greatly appreciated! Thanks in advance!!! 回答1: If you are using Quartz 2D, you can simply add a white shadow to the circle. See the Quartz 2D Programming Guide for Shadows Apple's Sample code for setting up a shadow taken from the link above: void MyDrawWithShadows (CGContextRef myContext, //