<!--
{
  "availability" : [
    "iOS: 18.1.0 -",
    "iPadOS: 18.1.0 -",
    "macCatalyst: 18.1.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImagePlayground",
  "identifier" : "/documentation/ImagePlayground/ImagePlaygroundViewController/modalPresentationStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Image Playground"
    ],
    "preciseIdentifier" : "c:@M@ImagePlayground@objc(cs)ImagePlaygroundViewController(py)modalPresentationStyle"
  },
  "title" : "modalPresentationStyle"
}
-->

# modalPresentationStyle

The presentation style for modal view controllers.

```
@MainActor @preconcurrency override dynamic var modalPresentationStyle: UIModalPresentationStyle { get set }
```

## Discussion

The view controller overrides this method to establish its preferred presentation
style in visionOS. Changing the value of this property has no effect in visionOS.

---

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)