Swift 4: Help align UITextView to other labels, by avoiding the annoying inset
When aligning a UITextView with other labels on the screen, the inset becomes an issue. It is easy enough to work around, however if you wanted to just “switch” them off, you can add the following to your ViewDidLoad Function: textView.textContainerInset = .zero textView.textContainer.lineFragmentPadding = 0