<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIViewController/performsActionsWhilePresentingModally",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIViewController(py)performsActionsWhilePresentingModally"
  },
  "title" : "performsActionsWhilePresentingModally"
}
-->

# performsActionsWhilePresentingModally

A Boolean value indicating whether the view controller performs menu-related actions.

```
var performsActionsWhilePresentingModally: Bool { get }
```

## Discussion

The default value of this property is <doc://com.apple.documentation/documentation/Swift/true>, which causes the view controller to handle actions passed along the responder chain by modally presented view controllers. If the app includes the `UIViewControllerPerformsActionsWhilePresentingModally` key in its `Info.plist` file, the default value matches the value of that key instead.

A presenting view controller might not want to handle actions in one of its modally presented child view controllers. Overriding this property and returning <doc://com.apple.documentation/documentation/Swift/false> causes UIKit to ignore this view controller when searching for a target to handle actions.

---

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)