I want to make sure the button text fits into a UIButton, while the UIButton has a fixed size.
Of course I can access the titleLabel of the UIButton. In a label I w
Write this line after your code:
yourButton.SizeToFitWidth=YES;