What is the proper way to implement shadows with CoreGraphics? I’ve looked around but haven’t been able to find a whole lot on it. Is there a simple method for adding a shadow to a view, or will I have to subclass and override the drawRect: method?
What is the proper way to implement shadows with CoreGraphics? I’ve looked around but
Share
See Quartz 2D Programing Guide: Shadows. Basically, you call
CGContextSetShadow(CGContextRef context, CGSize shadowSize, CGFloat blurValue)and then do your drawing.