So I’m creating an app in which there’s a UIWebView which shows a list of locations. My goal is to make it possible that once the user clicks one of the locations, my app can get the lat and longitude of the spot and therefore launch an integrated Navigation SDK. My point is how do I get and pass the
Tag: objective-c
EXEC_BAD_ACCESS error when using WebViewJavascriptBridge
I’m a very new iOS developer (I only started a few days ago), and I’m trying to utilize the WebViewJavascriptBridge class with a UIWebView that I’ve got on my Storyboard. Whenever I try to use it, I get an EXEC_BAD_ACCESS error. The trouble lines seem to be: To be exact, the last line. If I don’t make that request, I
Returning values to JavaScript when calling an Objective-C function
I’ve been using WebViewJavascriptBridge to bridge Objective-C and JavaScript in an iOS application. It works great but it lacks support for returning values to the calling JavaScript code from the called native Objective-C function. I’m pretty sure that Cordova (PhoneGap) does that in some way with callbacks but I’ve been having a hard time trying to understand how the underlying