UITextView cursor below frame when changing frame

前端 未结 9 458
名媛妹妹
名媛妹妹 2020-12-01 06:50

I have a UIViewCOntrollerthat contains a UITextView. When the keyboard appears I resize it like this:

#pragma mark - Responding to          


        
9条回答
  •  青春惊慌失措
    2020-12-01 07:38

    A simpler solution to this problem is to update the text view frame in response to the textViewDidBegingEditing delegate method. For further details, see the following:

    How to re-size UITextView when keyboard shown with iOS 7

提交回复
热议问题