Post not yet marked as solved
Post marked as unsolved with 0 replies, 375 views
I have an UIButton that is aligned left and has a default text color of DarkText.I change the text color by invoking UIButton.titleLabel.textColor = some UIColor.Then I change the alignment of the UIButton by invoking UIButton.contentHorizontalAlignment = UIControl.ContentHorizontalAlignment.center.The button text is moved to the center and the button text color reverts to the default (DarkText) color.Is this a bug or a feature?