Antialiasing edges of UIView after transformation using CALayer's transform

后端 未结 4 1044
别跟我提以往
别跟我提以往 2020-12-12 22:44

I have a UIView object that rotates using CALayer\'s transform:

// Create uiview object.
UIImageView *block = [[UIImageView alloc]          


        
4条回答
  •  眼角桃花
    2020-12-12 23:19

    Simply add this key-value pair to your Info.plist: UIViewEdgeAntialiasing set to YES.

提交回复
热议问题