iOS 設置圓角(總結)

方式一:設置layer相關的屬性 最簡單的一種,可是很影響性能。html 情景一:使用代碼設置 UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)]; //只須要設置layer層的兩個屬性 //設置圓角 imageView.layer.cornerRa
相關文章
相關標籤/搜索