UIButton doesn't seem to have the selected status header in iOS7?

This error appeared only in iOS7 - I can not install UIButton to display the selected state. Neither on the simulator, nor on the device. Did I miss something?

Regular condition

button unselected

Selected state (should display ace clubs)

enter image description here

+6
source share
1 answer

You need to change the button type from System to Custom . The System option corresponds to the UIButtonTypeSystem , which has a default built-in style.

+14
source

Source: https://habr.com/ru/post/955576/


All Articles