Use the tint(_:)
view modifier instead.
Initializer
init(tint:)
Creates a switch style with a tint color.
Deprecated 非推奨
Availability 有効性
- iOS 14.0–15.4 Deprecated
- iPadOS 14.0–15.4 Deprecated
- macOS 11.0–12.3 Deprecated
- Mac Catalyst 14.0–15.4 Deprecated
- watchOS 7.0–8.5 Deprecated
Technology
- Swift
UI
Declaration 宣言
init(tint: Color
)