Hide Sensitive Complications on Apple Watch

There's a feature to hide sensitive data in complications on Apple Watch, but is this feature available for third-party complications in watchOS 7?

Thanks!
Answered by AndyJJ in 619743022
Check out the CLKComplicationDataSource. Basically, in your subclass, implement


Code Block Swift
func getPrivacyBehavior(for complication: CLKComplication, withHandler handler: @escaping (CLKComplicationPrivacyBehavior) -> Void) {``
   handler(.showOnLockScreen)
}

Accepted Answer
Check out the CLKComplicationDataSource. Basically, in your subclass, implement


Code Block Swift
func getPrivacyBehavior(for complication: CLKComplication, withHandler handler: @escaping (CLKComplicationPrivacyBehavior) -> Void) {``
   handler(.showOnLockScreen)
}

Thank you!! This worked!
Hide Sensitive Complications on Apple Watch
 
 
Q