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

# presentationController(_:willPresentWithAdaptiveStyle:transitionCoordinator:)

Notifies the delegate that an adaptivity-related transition is about to occur.

```
optional func presentationController(_ presentationController: UIPresentationController, willPresentWithAdaptiveStyle style: UIModalPresentationStyle, transitionCoordinator: (any UIViewControllerTransitionCoordinator)?)
```

## Parameters

`presentationController`

The presentation controller that is managing the adaptivity change.

`style`

The new presentation style. If the presentation style is not changing, this parameter is set to [`UIModalPresentationStyle.none`](/documentation/UIKit/UIModalPresentationStyle/none).

`transitionCoordinator`

The transition coordinator that is managing the transition.

## Discussion

When a size class change occurs, UIKit calls this method to let you know how the presentation controller will adapt. Use this method to make any additional changes. For example, you might use the transition coordinator object to create additional animations for the transition.

---

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)