This error only appeared in iOS7 - I can't set UIButton to display it's selected state. Neither on the simulator, nor a device. Am I missing something?
You have to change the button type from System
to Custom
. System
option corresponds to the UIButtonTypeSystem
, which has a default styling built in.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.