I know that I can check if the UITextView
is editing using textViewDidBeginEditing:
but I want to check if it is editing using if statement is there is anyway to do that?
Use the method isFirstResponder
, e.g.:
if ([myTextView isFirstResponder]){
// do something...
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With