I wanted to add image in UILabel
along with text. However I used NSTextAttachment
to add image at the end of UILabel
text. I have subclass it to to fit the size of image to my text.
Now I want to add one more image in the beginning of the text, we can say as a prefix of UILabel
(Please see the image attached).
I tried it but I do not found any good solution. can anybody please help me to get this done.