title: ActionSheet not working iPad
body: <p>I'm using ActionSheet in my application. On my iPhone it works, but it doesn't on the iPad simulator. </p>
  
  <p>this is my code: </p>
  
  <pre><code>@IBAction func dialog(sender: AnyObject) {
  
      let optionMenu = UIAlertController(title: nil, message: "Choose Option", preferredStyle: .ActionSheet)
      let deleteAction = UIAlertAction(title: "Delete", style: .Default, handler: {
  
          (alert: UIAlertAction!) -&gt; Void in
          println("Filtre Deleted")
      })
  
      let cancelAction = UIAlertAction(title: "Cancel", style: .Cancel, handler: {
          (alert: UIAlertAction!) -&gt; Void in
          println("Cancelled")
      })
  
      optionMenu.addAction(deleteAction)
      optionMenu.addAction(cancelAction)
  
      self.presentViewController(optionMenu, animated: true, completion: nil)
  }
  </code></pre>
  
  <p>And my error:</p>
  
  <blockquote>
    <p>Terminating app due to uncaught exception 'NSGenericException',
    reason: 'Your application has presented a UIAlertController
    () of style
    UIAlertControllerStyleActionSheet. The modalPresentationStyle of a
    UIAlertController with this style is UIModalPresentationPopover. You
    must provide location information for this popover through the alert
    controller's popoverPresentationController. You must provide either a
    sourceView and sourceRect or a barButtonItem.  If this information is
    not known when you present the alert controller, you may provide it in
    the UIPopoverPresentationControllerDelegate method
    -prepareForPopoverPresentation.'</p>
  </blockquote>