I am having a button which has two different text in selected state and normal state, When I change state of button programatically button is not getting resized so text is not appearing properly, which is the best way to do this with autolayout?
I know one way setting outlet to UIButton's width constraint and change it manually but I am looking for better way