I am building an app with web programming languages and want to start the camera when the user clicks on an HTML button. Since I want my camera view to be a custom one, I need to design it with Swift. So when the user clicks on this HTML button, I wa...
I created a iOS web browser with swift language code. And add an extra button to inject a script on that web page, but it always crash when I try this:  webView!.evaluateJavaScript("document.body.style.background = 'red';", nil)   Any...
I am trying to pass data from my sites Javascript to my app, written in Swift.  Javascript:  var messgeToPost = {      "username": "testing123" }; window.webkit.messageHandlers.loginSuccess.postMessage(messgeToPost);   Swift:  var web...
I found this javascript animation: JS animation  I really want to know how I can convert animations like this to use it in my Swift iOS app.  Has anybody got experience in likely things? I found things like spritekit, but I really can't find the...
I'm displaying some local web content and would like to get the word under the tap point. The single tap delegate is setup and I can get it to work great if I use a UITextView and load the HTML with a NSAttributedString and NSHTMLTextDocumentType...
I am trying to figure out how to implement JavaScript functions inside my iOS app using swift platform  .      I have tried out the example code specified in the link   https://tetontech.wordpress.com/2014/07/15/swift-to-javascript-and-javascript-to-...
While loading HTML5 page from url I'm getting pdf somewhere in that page and I have to download that pdf or save it as base64.  This is where the pdf is in the HTML code. I cannot simply hit the 'src' URL and get the pdf.  < embed widt...
I have a very simple/easy question but have absolutely zero experience with java. I have a WKWebView and I want to get the title text of the page using the javascript document.getElementById.  The webpage I am trying to get the title from has this co...
I am trying to let the user resize the text of the given web page. I am using Swift in Xcode 6.  HTML file:  <!DOCTYPE html>     <html>     <body>          <h1>My First Heading</h1>          My first paragraph.      <...
Ive been experimenting with swift and wanted to try out the wkwebview.  Ive built an app and it all works correctly but the problem is that the webpage that i load into my wkwebview uses google maps and requires location services, so the javascript s...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.