Upvote:0

[self.view endEditing:YES]

More Answer related to the Same Query

Upvote:0

func textFieldShouldBeginEditing(textField: UITextField) -> Bool

Credit Goes to: stackoverflow.com

Related question with same questions but different answers