Ayush's Blog

Resetting Text Margins in TextKit on iOS

To set the UILabel to start the text from it’s bounds (without margins) set the properties as shown below.

Reset default margins

Reference: Mastering TextKit with Katsumi Kishikawa