how would you write some text in a UIButton that already contains an image? i’d like to have a button like “save”, but i also have an image that is the “button”, so i put a UIButton on the view in IB, then either text first or image first, the text never shows up in front of the image. How would you do that?
Thanks !
Create a
UILabelwith the text you need, then add it as a subview to yourUIButton. You can do that programmatically in the-viewDidLoadfunction of the view containing yourUIButtons.