First, Please add swipeGesture to your viewcontroller. And...
func hideKeyboard() { self.view.endEditing(true) } self.view.endEditing(true) }
It'll works fine for your project. Hope it'll help you.
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalFirst, Please add swipeGesture to your viewcontroller. And...
func hideKeyboard() { self.view.endEditing(true) } self.view.endEditing(true) }
It'll works fine for your project. Hope it'll help you.
First, Please add swipeGesture to your viewcontroller. And...
func hideKeyboard() { self.view.endEditing(true) }
It'll works fine for your project. Hope it'll help you.
First, Please add swipeGesture to your viewcontroller. And...
func hideKeyboard() { self.view.endEditing(true) } It'll works fine for your project. Hope it'll help you.