0

I'm new in developer I want to image draw on Label text Upside and bottom side of UILabel Text so I need frame of only Label text frame of Label enter image description here so please describe answer with an example

Keyur
  • 180
  • 1
  • 5
  • 20

1 Answers1

0

You should take two imageview upside and downside the your label. You can't do that within label. You can resize the label to fit the textsize by,

 [yourLabel sizeToFit];

It will resize the label according to it's text. And by that you can set your imageview above and below it.

Ketan Parmar
  • 27,092
  • 9
  • 50
  • 75