单选Btn

效果预览 一、思路解析 充分利用button的select属性,设置button的选中及非选中状态。设置一个全局的选中button(当前选中的button),这样一个简单的单选功能就实现了。 二、具体源码 (1)准备工作: @property (nonatomic,strong) UIView *SearchTopview; @property (nonatomic,weak) UIButton
相关文章
相关标签/搜索