_muteChangeButton = [UIButton buttonWithType:(
UIButtonTypeCustom
)];
[_muteChangeButton addTarget:self action:@selector(muteChangeButtonAction:) forControlEvents:(UIControlEventTouchUpInside)];
[self.bgView addSubview:_muteChangeButton];
button初始化的时候改为用户自定义的就好了,不要用系统的.
版权声明:本文为u013886407原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。