I'm working on an Apple Watch app that tracks a type of daily progress. I want my complication to look like the Apple Activity complication where progress > 100% is shown with a full circle and a small break in the circle. But the complications and providers don't allow the fillFraction
to be greater than 1. Is there a way to accomplish this?
Asked
Active
Viewed 88 times
0

rharding
- 551
- 1
- 3
- 14
-
Just set the ring style of the complication to closed. – EmilioPelaez Jun 22 '20 at 19:38
-
@EmilioPelaez could you elaborate? I'm not seeing the desired effect. It still only reaches 100% fill and then stops. Setting a fillFraction of > 1 crashes the app. – rharding Jun 24 '20 at 15:08
-
Can't really elaborate since you haven't posted any code, but most, if not all, gauge complications have a ring style property. Did you look for it? – EmilioPelaez Jun 24 '20 at 18:56
-
@EmilioPelaez Yeah i found the property, but it still doesn't allow the fill to be > 100% – rharding Jun 30 '20 at 14:50
-
Ah, I see what you mean now. That's not possible with regular complications. You might be able to do that with SwiftUI complications, but it'll require a custom control. Apple doesn't provide anything like that. – EmilioPelaez Jul 02 '20 at 08:06