I'm fast new, so I'm having problems for coding. I would like to add an action on the return button on the keyboard so that when I type it the keyboard will be hidden and the view will change. So how can it be?
You should call the function below
func textFieldShouldReturn (textField: UITextField!) - & gt; Bool {// textField code textField.resignFirstResponder () // if desired performance () return true} func displayAction () {// action events}
where I found the research
No comments:
Post a Comment