My issue is basically the the same as this one. I have a UIView and when I rotate it usding CGAffineTransformMakeRotation, the edges are not being antialiased.
I tried both adding the view as a subview in a bigger UIView and using a transparent border on the view but none of these worked.
The OP of the aforementioned post solved this by making an image with transparent borders in photoshop and using a UIImageView instead but I cannot do the same because the size of the UIView is determined on runtime.
Does anyone know any solutions to this problem?
Note that this is not a duplicate of this post because I am interested in using a UIView and NOT a UIImageView.
Try setting UIViewEdgeAntialiasing=YES in your App-info.plist
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With