Skip to content Skip to sidebar Skip to footer

Executing Javascript Code From Objective C

I have some javascript code that I need to execute from an objective-c (iPhone) app. The javascript code needs some of the values from the iPhone app. What I mean is, there is a s

Solution 1:

Add a UIWebView and inject a <script> tag containing the JavaScript using [webview loadHTMLString: html]


Post a Comment for "Executing Javascript Code From Objective C"