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

# mode

Returns the force mode for the push behavior.

```
var mode: UIPushBehavior.Mode { get }
```

## Discussion

The mode is one of the values available in the [`UIPushBehavior.Mode`](/documentation/UIKit/UIPushBehavior/Mode-swift.enum) enumeration. Set the mode when you call the [`init(items:mode:)`](/documentation/UIKit/UIPushBehavior/init(items:mode:)) method.

---

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)