Calling javascript from objective-c code

Posted by Infinity on Stack Overflow See other posts from Stack Overflow or by Infinity
Published on 2010-03-17T15:49:17Z Indexed on 2010/03/17 15:51 UTC
Read the original article Hit count: 585

Hello!

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 any way to call it and get the response? I am interested in any solution, but I started to think and I think I need to send a html call or something like this, but I am not sure about this because the javascript is client side code, so maybe I need to process it from my objective-c code. What do you think about this?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone-sdk