I want to have a green "OK" button and a red "Cancel" button in my app. The red one would look like:
I wonder if this can be done programmatically instead of taking screenshot -> photoshop crops -> set as a custom button in IB
Thanks! Leo
I like Jeff LaMarche's Gradient Buttons library for this sort of thing.
A little Googling would have thrown up this:
http://www.cimgf.com/2010/01/28/fun-with-uibuttons-and-core-animation-layers/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With