setting selected field for textView earlier

This commit is contained in:
Kevin G Christiano 2020-07-28 11:38:45 -04:00
parent e18878ce96
commit 9e6200ee70

View File

@ -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
}