0

I want to show a watchOS control that has a Text as its Label. I tried achieving this with this code (the provider and action are just placeholders):

StaticControlConfiguration(kind: "codecontrol", provider: PinProvider()) { pin in
 ControlWidgetButton("Current PIN", action: StartTimerIntent()) { bool in
 Text("1234")
 }
}

The desired behaviour is like the battery percent indication in the control center (left image). Instead it shows up like this (right image).

desired behaviour Current behaviour

Is there any way to achieve this or is that another private API that Apple uses?

asked Sep 20, 2025 at 12:44

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.