<!--
{
  "availability" : [
    "watchOS: 6.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKComplicationDataSource/getAlwaysOnTemplate(for:withHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ClockKit"
    ],
    "preciseIdentifier" : "c:objc(pl)CLKComplicationDataSource(im)getAlwaysOnTemplateForComplication:withHandler:"
  },
  "title" : "getAlwaysOnTemplate(for:withHandler:)"
}
-->

# getAlwaysOnTemplate(for:withHandler:)

Returns the template to use during Always On.

```
optional func getAlwaysOnTemplate(for complication: CLKComplication, withHandler handler: @escaping (CLKComplicationTemplate?) -> Void)
```

```
optional func alwaysOnTemplate(for complication: CLKComplication) async -> CLKComplicationTemplate?
```

## Discussion

If your implementation returns `nil`, ClockKit uses the current timeline entry, if one exists.

Users can control whether ClockKit shows sensitive data during Always On by choosing Settings > Display & Brightness > Always On > Hide Sensitive Complications. If the user enables Hide Sensitive Complications and the complication’s privacy behavior is [`CLKComplicationPrivacyBehavior.hideOnLockScreen`](/documentation/ClockKit/CLKComplicationPrivacyBehavior/hideOnLockScreen), ClockKit also hides the complication during Always On. For more information about privacy behaviors, see [`getPrivacyBehavior(for:withHandler:)`](/documentation/ClockKit/CLKComplicationDataSource/getPrivacyBehavior(for:withHandler:)).

---

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)