I am building a phonegap like solution using MonoTouch & UIWebView. I would like to expose a number of C# methods via Javascript. I know you can do this in Objective C using WebScriptObject but I can’t see where/if this is exposed in the MonoTouch API’s.
Is there a way to access WebScriptObject?
No,
WebScriptObjectis not part of MonoTouch (like it is part in MonoMac) sinceWebKit, as a framework, is not part of iOS.UIWebViewdoes allow you to evaluate JavaScript code but I’m not sure (never tried or even looked for) how you can, from there, get back into C# methods.