Guest User

Untitled

a guest
Jun 23rd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. func switchKeyboard() {
  2. print("switch keyboard")
  3. textField.endEditing(true);
  4. if textField.inputView == nil {
  5. textField.inputView = myKeyBoard
  6. }else{
  7. textField.inputView = nil
  8. }
  9. textField.becomeFirstResponder()
  10. }
Add Comment
Please, Sign In to add comment