I have a phone gap/cordova application. I have a view that has a link, 2 textfields and text.
I want to remove copy,paste and select option from the web view.
Using:
[webView stringByEvaluatingJavaScriptFromString:@"document.body.style.webkitTouchCallout='none';"];
[webView stringByEvaluatingJavaScriptFromString:@"document.body.style.webkitUserSelect='none';"];
I was able to disable copy paste and select menu from web view, but it still lingers in the input fields , i.e textfields.
What i tried was to disable long press on the webview , that disable the magnify glass and as a result disables copy and paste menu, but the menu occurs while we double tap on the textfield too. How can i disable both long press and double taps on the webview?
I am bit confused whether my app will clear the review process for app store if i disable the magnify glass.
Please help me get a solution to this.