I have seen this question, but the question is how to know which textView is the first responder? This question looked promising to figure out the first responder, but it tu
It's easy:
[[[UIApplication sharedApplication] keyWindow] endEditing:YES];
take a look at UIView Class Reference.