Disable editing fallthrough text field

This commit is contained in:
Justin Mazzocchi 2020-10-24 23:45:45 -07:00
parent 3a1d8d4470
commit fa1487df16
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ final class TouchFallthroughTextView: UITextView {
clipsToBounds = false
textDragInteraction?.isEnabled = false
isEditable = false
textContainerInset = .zero
self.textContainer.lineFragmentPadding = 0
linkTextAttributes = [.foregroundColor: tintColor as Any, .underlineColor: UIColor.clear]