Ghost Code
  • Home
  • About
Sign in Subscribe

swift

A collection of 1 post
apple

How to display HTML content in UILabel Swift 3

First we take a HTML string as input and then process this string to generate an Attributed String which can be set to the UILabel.  Below are the steps in the process: * Data is taken from the string using the unicode encoding. let data = string.data(using: String.Encoding.unicode,
Apr 21, 2017 1 min read
Page 1 of 1
Ghost Code © 2025
  • Sign up
Powered by Ghost