I want something similar to what is in the text entry screens, a horizontal array of up to 20 buttons. I would like to just show the numbers, i.e., 1 to 20. I have the button array, but the labels do not show up. Apparently, there is a substantial amound of padding involved, which precludes display of the numbers. Currently, button size is 60 x 40. How do I get this to work?
Small Buttons
Have you tried setting titleEdgeInsets on the button?
The default UIButton insets are pretty big, if you decrease their values you'll be able to see the button labels with the frame you describe. You can do this in Interface Builder or in code.
Ah! For you and Scrappy, a blessing be on you and your households. That's what I was missing. Sort of like insetRect. You have to outset with negative values. Took a few experiments, but I now have numbered labels.