Post

Replies

Boosts

Views

Activity

SwiftUI on WatchOS 10: how to hide page indicator?
I want Tab View to hide the page indicator as I have my own custom page indicator already. TabView(selection: $selection) { ForEach(0...10, id:\.self) { index in Button("tap \(index)") { selection = Int.random(in: 0...10) } } } .tabViewStyle(.page(indexDisplayMode: .never)) This works fine on watchOS 8 and 9. But WatchOS 10 does not work as intended. When the view first appear, the indicator show. When scroll with finger, it does hide the indicator. When jump to some pages by tap the button, the indicator shows again. I'm using Xcode 15.0, testing on watchOS simulator 10.0 I want this to completely hide the page indicator.
1
0
721
Sep ’23
Does Workout Session affect Workout app record in Apple Watch?
Our app uses HKWorkoutSession after some actions, to keep app on high priority in background and to keep Apple Watch returns to our app when the watch is waked up. We don't collect or register any activity record. But for some reasons, some users reviewed our app saying that when they're using our app, the Workout app on Apple Watch seems to be affected, ex: Move and exercises is recorded as an abnormal/impossible value... . Is this possible? I don't see any document mention this side effect?
1
0
548
Dec ’23