I have a TextView as shown below
I am not able to scroll the text view , I have added UITextViewDelegate in UIViewController class as well as set isUserInteractionEnabled property in textViewDidBeginEditing
func textViewDidBeginEditing(_ textView: UITextView) {
    textView.backgroundColor = UIColor.lightGray
    textView.isEditable = false
    textView.isUserInteractionEnabled = true
    textView.isScrollEnabled = true
}
What did I need to do?
Also, the scrolling is enabled in attribute inspector


                        
This issue has occurred because the actual
UITextView'ssize was more than screen size as shown below