Alex Rivera | Logout

How to call an Objective-C method from Javascript in a Cocoa/WebKit app?

Asked 2008-09-18T13:21:33.480
13

I have a Cocoa app that uses a WebView to display an HTML interface. How would I go about calling an Objective-C method from a Javascript function within the HTML interface?

Edit
Report

1 Answer

10

This is documented at developer.apple.com.

answered 2008-09-18T13:23:57.530

Your Answer