I want to add a dropshadow to a button i’ve drawn in coregraphics. Other than making the button smaller than the frame, (which is messy coding as in future you’ll forget about that and wonder why your button isn’t the size it should be), what options do i have to draw the shadow? It’s a custom shape, too.
Share
The easiest way is to add it to you CALayer:
If that won’t work for you, let me know and I will post some code CG code.