I'm trying to learn how to use the inspector view modifier. I have a very simple app here: https://github.com/mvolkmann/InspectorDemo/blob/main/InspectorDemo/ContentView.swift.
Clicking the info button in the toolbar of the main view displays an inspector sheet. The inspector sheet has its own toolbar that displays buttons in a ControlGroup. Clicking the info button again dismisses the inspector sheet.
The issue is that when I display the inspector sheet again, its toolbar is gone. Why does it only render the first time the inspector sheet is displayed?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
I'm trying to duplicate the Picker example at 31:39 in the "What's new in SwiftUI" WWDC 2023 video at https://developer.apple.com/wwdc23/10148.
My code is at https://github.com/mvolkmann/PickerStyleDemo/blob/main/PickerStyleDemo/ContentView.swift. The attached screenshot shows what I get. Note that I don't see "tag" SF Symbol for each option like the WWDC video shows. Am I doing something wrong?