[英]UIButton doesn't seem to have a selected state title in iOS7?
This error only appeared in iOS7 - I can't set UIButton to display it's selected state. 此错误仅出现在iOS7中 - 我无法设置UIButton以显示其选定状态。 Neither on the simulator, nor a device.
既不在模拟器上,也不在设备上。 Am I missing something?
我错过了什么吗?
You have to change the button type from System
to Custom
. 您必须将按钮类型从“
System
更改为“ Custom
。 System
option corresponds to the UIButtonTypeSystem
, which has a default styling built in. System
选项对应于UIButtonTypeSystem
,它具有内置的默认样式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.