UIControl * control = [[UIControl alloc] init];
control.frame = 屏幕大小;
[self.view addSubview:control];
[self.view sendSubviewToBack:control];
[control addTarget:self action:@selector(resignKeyBoard)forControlEvents:UIControlEventTouchUpInside];
- (void)resignKeyBoard
{
if ([self.tfPhoneNumber isFirstResponder])
{
[self.tfPhoneNumber resignFirstResponder];
}
}