Number: 012, Date: 2024-03-25

2024.03.18 ~ 2024.03.24

๐Ÿ“ฑ Displaying HTML Text (+ Atributika Library)


When a mobile app is deployed, any necessary modifications require a review request, and deployment can only proceed after the review is complete. To avoid multiple deployments due to frequently changing text, the server can deliver this text instead.

If you also want to include the style of the text delivered from the server, using HTML text can be convenient.

A simple implementation approach is to convert the HTML text to data, decode it, and return it in the NSAttributedString format to display in a UILabel or UITextView.

However, when using