<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIAdaptivePresentationControllerDelegate/adaptivePresentationStyle(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIAdaptivePresentationControllerDelegate(im)adaptivePresentationStyleForPresentationController:"
  },
  "title" : "adaptivePresentationStyle(for:)"
}
-->

# adaptivePresentationStyle(for:)

Asks the delegate for the new presentation style to use.

```
optional func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle
```

## Parameters

`controller`

The presentation controller that is managing the size change. Use this object to retrieve the view controllers involved in the presentation.

## Return Value

The new presentation style, which must be [`UIModalPresentationStyle.fullScreen`](/documentation/UIKit/UIModalPresentationStyle/fullScreen), [`UIModalPresentationStyle.overFullScreen`](/documentation/UIKit/UIModalPresentationStyle/overFullScreen), or [`UIModalPresentationStyle.none`](/documentation/UIKit/UIModalPresentationStyle/none).

## Discussion

In iOS 8.3 and later, use the [`adaptivePresentationStyle(for:traitCollection:)`](/documentation/UIKit/UIAdaptivePresentationControllerDelegate/adaptivePresentationStyle(for:traitCollection:)) method to handle all trait changes instead of this method. If you do not implement that method, you can use this method to change the presentation style when transitioning to a horizontally compact environment.

If you do not implement this method or if you return an invalid style, the current presentation controller returns its preferred default style.

---

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)