UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(viewTapped:)];
tapGesture.cancelsTouchesInView = NO;
[self.view addGestureRecognizer:tapGesture];
[self userNameMobileButtonClick:nil];
-(void)viewTapped:(UITapGestureRecognizer*)tap
{
[self resignAllTextField];
}