//(1)创建image
image=[[UIImageView alloc]initWithFrame:CGRectMake(200, 200, 80, 80)];
image.backgroundColor=[UIColor redColor];
//(2)设置圆角
image.layer.masksToBounds=YES;
image.layer
//(1)创建image
image=[[UIImageView alloc]initWithFrame:CGRectMake(200, 200, 80, 80)];
image.backgroundColor=[UIColor redColor];
//(2)设置圆角
image.layer.masksToBounds=YES;
image.layer