I am making a dropdown button using storyboard. for that, I need Select Operator
text in the left and dropdown related image to right. I am using storyboard to make this design. here text and images both are moving like below.
but I want like below
for button I have given like below in storyboard
please suggest me how to achieve text one side and image another side for a button in swift.
Thank u, i will accept your answer.. but i need text and image very near to edges.. i fallow button over the label and image
I just gave an example that you can do like this. If you want text and image near edges than you can change value of Right Title Inset and Left Image Inset according to your requirement.