标签: iphone
我该怎么做?我希望我的UIButton保持选中状态
答案 0 :(得分:0)
在IBAction中设置
[UIButton setSelected:YES]
并使用isSelected:YES
isSelected:YES
需要更改setSelected:NO
setSelected:NO