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...
I'm using a UIWebView for displaying content, in the form of an HTML string – not a website, higher than the screen of the iPhone, without needing to scroll in the webView itself, leaving that to the parent scrollView.  To achieve this, I need...
Is there a way to inject a local JS file or a JS file that's store on my server into any web page loaded by UIWebView?  Say I navigate to google.com in that UIWebView, it renders that page and also runs my JS file (local or on my webserver)?...
I have a Cocoa app that uses a WebView to display an HTML interface. How would I go about calling an Objective-C method from a Javascript function within the HTML interface?...
I don't want to take the time to learn Obj-C. I've spent 7+ years doing web application programming. Shouldn't there be a way to use the WebView and just write the whole app in javascript, pulling the files right from the resources of the...
I make any webView And I want to call from javascript any objective c method which return any parameter. I tried many ways but not allowed .  Objective c method here:  - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)re...
I'm trying to use ABNewPersonViewController in my React Native app. This is how it's used in Objective-C:  ABNewPersonViewController *picker = [[ABNewPersonViewController alloc] init]; picker.newPersonViewDelegate = self;  UINavigationControl...
I found a lots of ways to call objective-c code from javascript, but I want to call the javascript code from objective-c. Last time I submitted a HTML FORM from objective-c, and now I wan't to call a javascript method. What do you think, is there...
I am recording a sound file ( wav format) in objective C. I want to pass this back to Javascript using Objective C stringByEvaluatingJavaScriptFromString.  I am thinking that I will have to convert wav file to base64 string to pass it to this functio...
I am trying to get the HTML content from a website , but it is blocked by JavaScript.  Here is the implementation:  - (void)viewDidLoad {   NSURL *htmlUrl = [NSURL URLWithString:@"https://color.adobe.com/explore/most-popular/?time=week"];   N...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.