Titanium Studio Webview not letting me interact with website

前提是你 提交于 2019-12-13 04:42:25

问题


Part of an app I am working on needs to access an external website to answer a few questions.

When that is needed, I am opening a web view and the URL set to this site. The page loads fine, but there is no way to interact. The textfields cannot be edited and the buttons cannot be clicked. To make sure it was not my website (works from iOS safari fine) I pointed the web view to www.google.com and cannot click the search button there either. Basically:

var webView = Titanium.UI.createWebView({url: 'http://www.google.com'});
win.add(webView);
win.open();

Is there some trick to being able to interact with the website through a web view? At this time I cannot use a native app and web service and need to get the app working with the existing website to fill out this form.

Titanium Studio 2.1.2 and iOS6


回答1:


Maybe are you putting some View (Ti.UI.View) after putting the WebView in the Window?



来源:https://stackoverflow.com/questions/13847453/titanium-studio-webview-not-letting-me-interact-with-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!