<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AlarmKit",
  "identifier" : "/documentation/AlarmKit/AlarmPresentation/Alert-swift.struct/secondaryButtonBehavior-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AlarmKit"
    ],
    "preciseIdentifier" : "s:8AlarmKit0A12PresentationV5AlertV23secondaryButtonBehaviorAE09SecondaryfG0OSgvp"
  },
  "title" : "secondaryButtonBehavior"
}
-->

# secondaryButtonBehavior

The defined behavior of the second button.

```
var secondaryButtonBehavior: AlarmPresentation.Alert.SecondaryButtonBehavior?
```

## Discussion

You can define the button to switch back to a countdown
for a snoozed alarm or repeating timer, or execute an intent without
mutating the alarm state.

---

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)