setting selected field for textView earlier
This commit is contained in:
parent
e18878ce96
commit
9e6200ee70
@ -566,6 +566,11 @@ import UIKit
|
||||
// MARK: - UITextViewDelegate
|
||||
//--------------------------------------------------
|
||||
|
||||
public func textViewShouldBeginEditing(_ textView: UITextView) -> Bool {
|
||||
selectedField = textView
|
||||
return true
|
||||
}
|
||||
|
||||
open func textViewDidBeginEditing(_ textView: UITextView) {
|
||||
selectedField = textView
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user