ios - UIButton title alignment not changing to right direction in RTL -
i having application in both ltr , rtl languages. fine uibutton title alignment not changing right though uibutton flips itself. here screenshot:
constraints given default language english:
what issue , why happens? need set title programatically aligned right?
use right alignment storyboard
or programmatically
buttonshowonmap.contenthorizontalalignment = .left//for left alignment buttonshowonmap.contenthorizontalalignment = .right//for right alignment
Comments
Post a Comment