I've run into a case where it appears that the highlighted state is always active when using box-shadow. It also seems to be setting the box-shadow on the button label depending on the button type and state. I've noticed the example below changes depending on the button type but in my app I've extended UIButton for some additional customization. Do I need to set some other button properties to make this work?
Here's an example where you can see the red from the highlighted state always showing.
I've run into a case where it appears that the highlighted state is always active when using box-shadow. It also seems to be setting the box-shadow on the button label depending on the button type and state. I've noticed the example below changes depending on the button type but in my app I've extended UIButton for some additional customization. Do I need to set some other button properties to make this work?
Here's an example where you can see the red from the highlighted state always showing.
Thanks!