views:

153

answers:

1

Hello,

I want to generate some HTML content and put this into a UIWebView. The HTML contains some buttons. Is it possible to define actions for these buttons? I want to call a method (e.g. firstButtonPressed) in my objective-c code when someone presses this button in the UIWebView.

Thanks you for helping me.

+1  A: 

Take a look at the phonegap project: www.phonegap.com

It is designed to do this kind of thing and more. If anything you will be able to get an idea how to code this as the project is open source.

pheelicks