Disable iOS keyboard (don't show it at all) in phonegap

Posted by lashleigh on Stack Overflow See other posts from Stack Overflow or by lashleigh
Published on 2012-06-06T22:37:25Z Indexed on 2012/06/06 22:40 UTC
Read the original article Hit count: 154

Filed under:
|
|
|

If I were writing a native app I would try the solution given here which says:

Try to implement the following method in text view's delegate:

- (BOOL)textViewShouldBeginEditing:(UITextView *)textView{
    return NO;
}

Unfortunately I need to use phonegap, so I don't have a text view to manipulate. It would be great if I could permanently suppress the keyboard in this app. We've got some custom on screen keyboard that people are supposed to use instead. So, any idea how to disable the popup keyboard completely?

© Stack Overflow or respective owner

Related posts about ios

Related posts about phonegap