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!!! 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, // 1 float wd, float ht); { CGSize myShadowOffset = CGSizeMake (-15, 20);// 2 float myColorValues[] = {1.0, 1.0