标签:
三部曲;
// 1.让当前选中的按钮取消选中 UIButton *selectedButton;
self.selectedButton.selected = NO;
// 2.让新点击的按钮选中
button.selected = YES;
// 3.新点击的按钮就成为了"当前选中的按钮"
self.selectedButton = button;
标签:
原文地址:http://www.cnblogs.com/anshinianyujing/p/4542165.html