I’m trying to implement a control for deleting entire sections, and it would look best in my app if the delete button was in the header, as opposed to an overlay like a UIPopoverView.
In the process of writing this question, I found the answer. Easy enough, once there’s a starting point.
I got the bulk of the code from this blog which has only two posts, both from 2010.
Then I went back to this site just for the font color, since it’s more trouble to break apart.
Three minor problems, all with the label.
The default font is known, so that comes first.
Color is next, since that’s easy. Used an image editor’s Eyedropper tool for this.
Then the hard part. A close guess, and then some tweaking for a perfect match.
And now we have a custom implementation that perfectly matches the current Grouped header.
Finished code:
Found this SO answer after finding the right font/color myself. Oh well.
Edit:
For a title label that allows an effectively unlimited amount of text: