Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func switchKeyboard() {
- print("switch keyboard")
- textField.endEditing(true);
- if textField.inputView == nil {
- textField.inputView = myKeyBoard
- }else{
- textField.inputView = nil
- }
- textField.becomeFirstResponder()
- }
Add Comment
Please, Sign In to add comment