I\'m trying to make a UIButton that has two lines of text in its titleLabel. This is the code I\'m using:
UIButton
UIButton *titleButton = [[UIButton all
button.titleLabel.lineBreakMode = NSLineBreakByWordWrapping; button.titleLabel.textAlignment = NSTextAlignmentCenter; [button setTitle: @"Line1\nLine2" forState: UIControlStateNormal];