iPhone UIWebview: How to force a numeric keyboard? Is it possible?

后端 未结 10 1785
清酒与你
清酒与你 2020-12-02 09:34

I\'m experimenting with PhoneGap to develop some iPhone apps. PhoneGap basically wraps a UIWebView - it works well. The problem is the my app has several input fields that

10条回答
  •  误落风尘
    2020-12-02 10:18

    This was possible in the first iteration of the iPhone OS - Safari would give numeric keyboards to form fields with 'zip' or 'phone' in their names - but it disappeared in iPhone OS 2.0.

    PhoneGap doesn't have an API function to override this at the moment. It may be something they're working on, it'd definitely be a nifty feature.

提交回复
热议问题