views:

379

answers:

2

Hello!

I have a UIButton with text "Explore the app" and image (>) In Interface Builder it looks like:

   [ (>) Explore the app ]

But I need to place this image AFTER the text:

   [ Explore the app (>) ]

How can I move the image to the right?

+2  A: 

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).

Steven Canfield
This is great! Thank you!
Pavel Yakimenko