title: How to get a main (window?) UIView in iOS?
body: <p>I'm developing a PhoneGap app, extending it with native stuff.</p>
  
  <p>I can make an UIView like this:</p>
  
  <pre><code>[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]
  </code></pre>
  
  <p>and show some stuff like ActionSheets here. But the <a href="http://github.com/matej/MBProgressHUD" rel="nofollow noreferrer">MBProgressHUD</a> doesn't show up in this view.</p>
  
  <p>So how do I get the main view (or the PhoneGap's WebView)?</p>