Skip to main content
Code formatting.
Source Link
Craig Otis
  • 32.4k
  • 33
  • 148
  • 243

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.

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.

Source Link
Richard
  • 109
  • 5

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.