Apollo Apollo - 7 months ago 76
iOS Question

set uibutton text alignment storyboard

I know that in code I can do

[myButton.titleLabel setTextAlignment: NSTextAlignmentRight];
but how would I do this in Storyboard in User Defined Runtime Attributes?


How to make UIButton's text alignment center? Using IB

This post shows how to do it in storyboard.

enter image description here