调整iOS中按钮,button圆角边框,角度越大,按钮越圆
[button1.layer setMasksToBounds:YES];
[button1.layer setCornerRadius:10.0];
[imageButton.layer setMasksToBounds:YES];
[imageButton.layer setCornerRadius:20.0];
调整iOS中按钮,button圆角边框,角度越大,按钮越圆
[button1.layer setMasksToBounds:YES];
[button1.layer setCornerRadius:10.0];
[imageButton.layer setMasksToBounds:YES];
[imageButton.layer setCornerRadius:20.0];