简体   繁体   中英

How to communicate between JavaScript and native iOS with outusing PhoneGap?

I am new hybrid application mobile developer. I want to know one thing, how is the communication between iOS native code and JavaScript done without using PhoneGap?

Is there any way to communicate between iOS native and JavaScript with out using PhoneGap and JavaScript to native iOS?

Can please any one help me about this?

This link should help you call Objective C from Javascript and to call Javascript Function from Objective C just invoke the webview control and call the function just like you call a URL page and will execute the function.

Let me know if it helped you!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM