views:

62

answers:

1

I'm developing a PhoneGap app, extending it with native stuff.

I can make an UIView like this:

[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]

and show some stuff like ActionSheets here. But the MBProgressHUD doesn't show up in this view.

So how do I get the main view (or the PhoneGap's WebView)?

A: 

Woohoo! Solved it by defining a global with the UIWebView which I can access in the app delegate's webViewDidStartLoad.

myfreeweb