Im trying to put a UIImage
and text into a UIButton
, by using UIEdgeInset
to locate them.
The problem is, changing one of the edgeinset setting will cause both the image and the text to change the position.
Which means, I put the image to the correct position, then I change the titleEdgeInset
values, suddenly not only the text but also the image changed the position.
Any one can help out please?
I hope this may helps you