23.button.selected 选中方法 界面按钮出现 蓝
2020-11-17 本文已影响0人
bytebytebyte
_muteChangeButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
[_muteChangeButton addTarget:self action:@selector(muteChangeButtonAction:) forControlEvents:(UIControlEventTouchUpInside)];
[self.bgView addSubview:_muteChangeButton];
button初始化的时候改为用户自定义的就好了,不要用系统的.