Created
March 11, 2019 03:00
-
-
Save daoseng33/d7708422fd2a3c9126d586892e4ded58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension UITextView { | |
func removeTextPadding() { | |
textContainer.lineFragmentPadding = 0 | |
textContainerInset = .zero | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment