//返回第一响应者的方法
-(UIView*)findAndResignFirstResponderInView:(UIView*)selfView{
if (self.view.isFirstResponder){
return selfView;
}
for (UIView* subView in selfView.subviews){
if (subView.isFirstResponder)
return subView;
}
return nil;
}
-(UIView*)findAndResignFirstResponderInView:(UIView*)selfView{
if (self.view.isFirstResponder){
return selfView;
}
for (UIView* subView in selfView.subviews){
if (subView.isFirstResponder)
return subView;
}
return nil;
}