c窗體里怎么把button改成圓的?
設(shè)置button完全為圓形:Button.layer.cornerRadius = 34.0;(該值到一定的程度,就為圓形了。)
Button.layer.borderWidth = 1.0;Button.layer.borderColor =[UIColor clearColor].CGColor;Button.clipsToBounds = TRUE;//去除邊界
c窗體里怎么把button改成圓的?
設(shè)置button完全為圓形:Button.layer.cornerRadius = 34.0;(該值到一定的程度,就為圓形了。)
Button.layer.borderWidth = 1.0;Button.layer.borderColor =[UIColor clearColor].CGColor;Button.clipsToBounds = TRUE;//去除邊界