IOS: UIImageView border white with radius display a strange dark line in 4 corners

后端 未结 7 2015
说谎
说谎 2020-12-18 15:59

I set the border white and radius for my ImageView. But in 4 corner of the ImageView, some dark line appear.
Here is the code I set the color

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-18 16:46

    I check your code you can change this line its work for me

    self.image.layer.borderColor = [[UIColor clearColor] CGColor];

提交回复
热议问题