Ever wonder how to pull the emoji and standard UIKit Read more →
“How are you rounding the corners of your UI elements?”
I’m asked this all the time, and the answer is incredibly simple — layer.cornerRadius!
Since every UI element has an underlying layer, to round the corners all you have to do is import QuartzCore and set the radius:
yourUIObject.layer.cornerRadius = 5.0f;
It’s that simple!
