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...
How can I parse HTML data from a website that uses JavaScript for some of its information. (Some JavaScript code constructs HTML code which I want to use.)   I couldn't find a way to get the HTML data including the HTML data that is loaded by Jav...
When Im trying to launch my RN app on iOS 8 I get this weird error: Unhandled JS Exception: SyntaxError And thats all, not any more info more. Does any1 stumbled across that issue? On iOs 9+ application runs ok tho.  xCode version: 8.1. Logs from xCo...
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...
We are developing a Cocoa app for Mac OSX (10.8) which needs to use a JavaScript library (long story why we must use JavaScript).  In a demo application everything seemed to be just fine, but while incorporating the code in our project, we can call t...
I have a project using the latest version of the FacebookSDK and Xcode 10, the project runs OK in devices, but when submitting to the App Store, during during validation the following error occurs:     Found an unexpected Mach-O header code: 0x72613c...
I have an app I'm developing using PhoneGap, HTML and JavaScript and so far I have the app downloading a file and reading it to the console.log. I now want to read it into specified <p> tags but when I try a technique I know to work when re...
I'm working on a program that needs to save user data in a file as a JSON format. It is doing fine saving my data as JSON but when I try to use JSON.parse to parse my stored JSON it doesn't work. Here is my code for storing the data:  functio...
We're using React Native 0.59.10 and React-Redux 5.0.7, and are experiencing a CPU-bound performance issue, in which our Redux actions are taking ~0.25s to complete.  We've profiled using the Time Profiler configuration in Instruments, but no...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.