<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIModalPresentationStyle/popover",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIModalPresentationStyle@UIModalPresentationPopover"
  },
  "title" : "UIModalPresentationStyle.popover"
}
-->

# UIModalPresentationStyle.popover

A presentation style where the content is displayed in a popover view.

```
case popover
```

## Discussion

In a horizontally regular environment, this style displays the view controller in a popover view. The background content is dimmed and taps outside the popover cause the popover to be dismissed. If you do not want taps to dismiss the popover, you can assign one or more views to the [`passthroughViews`](/documentation/UIKit/UIPopoverPresentationController/passthroughViews) property of the associated [`UIPopoverPresentationController`](/documentation/UIKit/UIPopoverPresentationController) object, which you can get from the [`popoverPresentationController`](/documentation/UIKit/UIViewController/popoverPresentationController) property.

In iOS 13 and later, for horizontally or vertically compact environments, this option behaves the same as [`UIModalPresentationStyle.formSheet`](/documentation/UIKit/UIModalPresentationStyle/formSheet).

In iOS 12 and earlier:

- For horizontally compact environments, this option behaves the same as [`UIModalPresentationStyle.fullScreen`](/documentation/UIKit/UIModalPresentationStyle/fullScreen).
- For horizontally regular and vertically compact environments, this option behaves the same as [`UIModalPresentationStyle.formSheet`](/documentation/UIKit/UIModalPresentationStyle/formSheet).

For more information about horizontal and vertical size classes, see [`UIUserInterfaceSizeClass`](/documentation/UIKit/UIUserInterfaceSizeClass).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)