UILabels in iOS 6
I had a lot of people asking me about this, so here comes the solution (finally).
Subclass UILabel, and override drawTextInRect:
This label will behave exactly like a normal UILabel, except if you load it with attributed text containing stroke width and colour attributes. Remember to keep the stroke width negative to trigger outline + fill. Also, you need to actually experiment with the size of the stroke in order to make it look good. Due to the way iOS renders the stroke, you might need to set it to a surprisingly high number. It’s basically a matter of trial and error.
Here’s a snippet to exercise the subclass: