Filip Němeček 9/19/2021

Loading HTML text into UITextView

Read Original

This technical article explains how to properly load HTML text containing links into an iOS UITextView. It details the process of converting HTML to an NSAttributedString, applying custom fonts, colors, and alignment, and handling URL taps within the app using UITextViewDelegate. The post includes Swift code snippets for a complete implementation.

Loading HTML text into UITextView

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week