How to use AutoLayout to position UIButtons in horizontal lines?
- by thomers
I need to create a couple of UIButtons programmatically in my app (iOS 6.0 and above).
Each button should have the optimal width to display button label text (of various lenghts).
I want to display the buttons in a "wrap around" style: Starting from the left edge, each button should be positioned next to each other horizontally (in a defined…