1.spa
imageView.layer.allowsEdgeAntialiasing = YES; // OC
2.衣廚 搭配時 邊框 縮放 有 矩齒
code
self.layer.borderWidth = 2/sqrt( self.transform.a*self.transform.a + self.transform.b*self.transform.b)orm
self.layer.borderColor = UIColor.CustomRed().CGColorform
self.layer.allowsEdgeAntialiasing = true //抗矩齒性class