I view the code, and I realize that such as TPKeyboardAvoidingScrollView always to find it subviews to resign fist responder, but when the text field is not the subview, it doesn't work. so I think we can add a touch block to TPKeyboardAvoidingScrollView, and call it in (touchesEnded: withEvent:), I can set this block to do my custom event
I view the code, and I realize that such as TPKeyboardAvoidingScrollView always to find it subviews to resign fist responder, but when the text field is not the subview, it doesn't work. so I think we can add a touch block to TPKeyboardAvoidingScrollView, and call it in (touchesEnded: withEvent:), I can set this block to do my custom event