iOS – Click view to dismiss the keyboard
UITapGestureRecognizer *tap = initWithTarget:self.view action:@selector(endEditing:)]; tap.cancelsTouchesInView = FALSE; tap.delegate = self; ;
UITapGestureRecognizer *tap = initWithTarget:self.view action:@selector(endEditing:)]; tap.cancelsTouchesInView = FALSE; tap.delegate = self; ;