1 decade ago by Sean12
I am using Ejecta to run a game built using a canvas. I need to be able to send information from the javascript code back to the native iOS code. I've done this previously using a UIWebView and calling this method:
Is it possible to do something similar to this in Ejecta?
Thank you!
- (BOOL) webView:(UIWebView*)theWebView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType { webView= theWebView; if ([request.URL.absoluteString isEqualToString:@"fake://do_something"]) { } }
Is it possible to do something similar to this in Ejecta?
Thank you!