Q:

Curve Text In UILabel Programmatically Around UIButton

I have created a circular UIButton by setting the cornerRadius property to half of the width and height values of the UIButton.
btn.layer.cornerRadius = 75.f;

That works fine but I would like to also create a label for the UIButton where the label text curves around the edge of the UIButton.
If this is even possible could somebody post a snippet of code as to how this curved text around the button edge could be accomplished?

A:

You might have a look at this question: Curve text on existing circle
It's not actually a UIButton, but you will certainly get an idea of how to draw text on a curve.
There's especially talk of the sample project CoreTextArcCocoa from Apple. It's for OS X instead for iOS, but you might want to check this out.

