as the title says i am trying to add padding-like behavior to a UITextView. The textview is generated when the view is pushed inside my navigation controller and the following c
For Swift 4.2:
textview.contentInset = UIEdgeInsets(top: 2, left: 10, bottom: 2, right: 10)