I define some user defined runtime attribute like shadow in utilities
when button state change like normal to selected
how can I get rid of the shadow
help appreciated
I define some user defined runtime attribute like shadow in utilities
when button state change like normal to selected
how can I get rid of the shadow
help appreciated
You can just set the properties on the view like any other property.
layer.shadowColor = UIColor.gray.cgColor
layer.cornerRadius = someotherValue
and so on.