Why add shadow to any layer is too heavy?
I tried to add a shadow to my UIView and it was VERY heavy on this screen only.
Why is it so heavy? The only solution I find is to add a shadow image in PNG to simulate, is lighter than create a shadow using QuartzCore.
Is there any solution lighter for this?
use following function to give shadow to any control like, button, label, textfield or view just pass that control to this function
try to set properties as you like and as per your requirement..
Enjoy coding .......