Effective corner radius
Rather than setting layer's corner radius:
image.layer.cornerRadius = 20;
image.layer.masksToBounds = YES;
You should perform drawing, this is more efficient.
This is my code snippet.
Rather than setting layer's corner radius:
image.layer.cornerRadius = 20;
image.layer.masksToBounds = YES;
You should perform drawing, this is more efficient.
This is my code snippet.