Importance of scale property in CALayer
When Drawing
self.layer.contentsScale = [UIScreen mainScreen].scale;
When Rasterizing
self.btn_Cart.layer.rasterizationScale = [UIScreen mainScreen].scale;
Comparison
Written by Uzys Jung
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#