Xcode – UISegmentedControl not changing when state change occurs
Below I have the code for my picker: struct pickerSwitch: View { @ObservedObject var appState: AppState @State var selection: String = "Red" var colors = ["Red", "Blue"] init(appState: AppState) { print("Init ran again") self.appState = appState if appState.showBlueControl { UISegmentedControl.appearance().setTitleTextAttributes([.font…