Post

Replies

Boosts

Views

Activity

Comment on SwiftUI TabView with page style doesn't present dots on watchOS
On the simulator and the live previews for Apple Watch, I'm not seeing the dots at the bottom of the screen for each of the TabViews to show how many tabs exits and to indicate which of the tabs is currently being displayed. I am able to swipe on either side to change which TabView is currently displayed, but no dots display. Are they hidden by default? Maybe I need to manually activate the dots to be visible.
Aug ’22
Comment on How to convert NavigationLink tag and selection to value?
Thank you! This approach does a good job of storing the workoutType variable (using the 'tag' class that is deprecated), but I'd also like to store the selected workout as an environment object (similar to the deprecated 'selection' class approach). What is the best way to pass 2 stored values, one of which is an environment object? @EnvironmentObject var workoutManager: WorkoutManager var workoutTypes: [HKWorkoutActivityType] = [.paddleSports, .sailing, .rowing, .swimming]
Aug ’22