I am using UILabel and UITextView and they render text differently. It seems that UITextView offsets text by 4.
Below is an example where at t
This works for me and eliminates the inner padding:
textView.textContainer.lineFragmentPadding = 0; textView.textContainerInset = UIEdgeInsetsZero;