SwiftUI 2.0. Using SwitchToggleStyle. You can now set a tint color for the on position only in SwiftUI 2.0: Toggle(isOn: $isToggleOn) ...
確定! 回上一頁