psharanda / Atributika

Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.
MIT License
1.45k stars 155 forks source link

Handle UIEdgeInsets #97

Closed KOSURUUDAYSAIKUMAR closed 5 years ago

KOSURUUDAYSAIKUMAR commented 5 years ago

While I displayed the data. It gets edges of the text inside. I need to give a gap for top, bottom, left, right.

(https://user-images.githubusercontent.com/28728191/66890584-3cacbe00-f004-11e9-807d-70a6a4b179a7.png)

Can you please help. I tried for the past few days. But the issue not solved.

psharanda commented 5 years ago

AttributedLabel is just a wrapper on top of UITextView. So you can work with it as with a standard view.