I want title "Alert" should come first and than image of Bell icon.
Asked
Active
Viewed 349 times
0

Shreyank
- 1,549
- 13
- 24
-
1Assign `inset` to that button as per your requirement – Jigar Tarsariya May 25 '16 at 10:25
-
1see this it helps you http://stackoverflow.com/questions/7100976/how-do-i-put-the-image-on-the-right-side-of-the-text-in-a-uibutton – Anbu.Karthik May 25 '16 at 10:56
1 Answers
1
Possible Duplicate link
Set the imageEdgeInset and titleEdgeInset to move the components around within your image. You could also create a button using those graphics that is full size, and use that as the background image for the button (then use titleEdgeInsets to move the title around).
Let me know if you still find any difficulty .

Community
- 1
- 1

saurabh goyal
- 328
- 4
- 11