I need to write a custom vertical segmented control for iOS. In the control, I can specify a list of items, each item has an image icon and a text label (with font, color, selected color, etc) that appears immediately below the image icon (the text label is not constant, it will be changing too frequently). I thought of using UIButton for the item, but the problem is I don't know how to specify placement of text and image in UIButton. Am I missing something obvious? Otherwise, what is the cleanest way to implement this segmented control.