I believe this is the effect you are looking for:

This is created using a radial gradient. The gradient begins with a radius of 0 and ends with a radius of the size of the circle. The center point of the start must be within the circle created by the end, or you will get a cone shape instead. Here is the code I used to create this image (a couple of parts need to be translated into iOS before using it):
CGContextRef ctxt = [[NSGraphicsContext currentContext] graphicsPort]; CGGradientRef gradient; CGColorSpaceRef colorSpace; CGFloat locations[] = {0.0,1.0}; CGFloat components[] = { 0.5,1.0,1.0,1.0, 0.25,0.5,0.5,1.0 }; colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); gradient = CGGradientCreateWithColorComponents(colorSpace,components,locations, sizeof(locations)/sizeof(CGFloat)); CGPoint start = {70.0,130.0}, end = {100.0,100.0}; CGFloat startRadius = 0.0, endRadius = 90.0; CGContextDrawRadialGradient(ctxt,gradient,start,startRadius,end,endRadius,0); CGGradientRelease(gradient); CGColorSpaceRelease(colorSpace);
source share