Is there a way to differ via javascript if the website runs inside the ipad safari or inside an application WebView?...
I'm using this function to copy a URL to the clipboard:  function CopyUrl($this){    var querySelector = $this.next().attr("id");   var emailLink = document.querySelector("#"+querySelector);    var range = document.createRange()...
I'm working on an app where I'm going to use both HTML5 in UIWebView and native iOS framework together. I know that I can implement communication between JavaScript and Objective-C. Are there any libraries that simplify implementing this co...
Does anyone know if the onbeforeunload event is supported on the iPad and/or if there's a different way to use it?  I've tried pretty much everything, and it seems like the onbeforeunload event is never triggered on the iPad (Safari browser...
Using a WKWebView in iOS 8, how can I run a JavaScript function from the native side or otherwise communicate from the native side to JavaScript? There doesn't appear to be a method akin to UIWebView's stringByEvaluatingJavaScriptFromString...
I don't believe there is any solution to hide bars programmatically using javascript/css/html, but let me try to describe a problem. We are the team of mobile game developers and we have been developing a game for one year.   After iOS 7 announ...
This is a WEB APP not a native app. Please no Objective-C NS commands.  So I need to detect 'pinch' events on iOS. Problem is every plugin or method I see for doing gestures or multi-touch events, is (usually) with jQuery and is a whole add...
I'm trying to explore the posibilities with running a native web-app on different platforms using HTML5. Currently, an <input type="date">field just opens the standard soft keyboard on Android and iOS. I suppose that in the future...
The age old problem: Getting the scroll event to fire while a user is scrolling on an element while on a mobile site or app(web view).  All I'm looking for is access to the correct scrollTop() value while a user is scrolling my page on a mobile...
I need to know what should be done to use JavaScript in a HTML sitting in UIWebView to notify Objective-C that something has happened?  To be more exact, I'm playing some JavaScript animation in HTML and I need to alert the Objective-C code that...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.