iOS JavaScript bridge
Posted
by
andr111
on Stack Overflow
See other posts from Stack Overflow
or by andr111
Published on 2012-02-27T22:45:42Z
Indexed on
2014/06/08
3:26 UTC
Read the original article
Hit count: 107
I'm working on an app where I'm going to use both HTML5 in UIWebView and native iOS framework together. I know that I can implement communication between JavaScript and Objective-C. Are there any libraries that simplify implementing this communication? I know that there are several libraries to create native iOS apps in HTML5 and javascript (for example AppMobi, PhoneGap), but I'm not sure if there is a library to help create native iOS apps with heavy JavaScript usage. I need to:
- Execute JS methods from Objective-C
- Execute Objective-C methods from JS
- Listen to native JS events from Objective-C (for example DOM ready event)
© Stack Overflow or respective owner