title: UIAlertView warning when dismissing
body: <p>I'm creating an alert in the following manner:</p>
  
  <pre class="lang-c prettyprint-override"><code>let alert = UIAlertView(title: "Network Unavailable",
                        message: "Oh noes!",
                       delegate: nil,
              cancelButtonTitle: "OK")
  alert.show()
  </code></pre>
  
  <p>Works fine.  However when I click the 'OK' button to dismiss the alert, I get this:</p>
  
  <p>Warning: Attempt to dismiss from view controller &lt;_UIAlertShimPresentingViewController: 0x16ea2230> while a presentation or dismiss is in progress!</p>
  
  <p>Some context:</p>
  
  <ol>
  <li>The alert is created in didMoveToView(view: SKView!) function of an SKScene.</li>
  <li>This is in Xcode 6 beta 3.</li>
  <li>my example is swift but this also happens from Objective-C</li>
  </ol>
  
  <p>Any ideas why this warning might be occurring?  I don't want to ignore it in case it turns into a fatal error in a future version of iOS.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I should also add that when the alert appears, when I select Debug -> View Debugging -> Capture View Hierarchy, the alert is not shown in the 3d view of the views.  I'm wondering if this is symptomatic of something I'm doing wrong.</p>