Use init(cg
instead.
Initializer
init(_:)
Creates a color from a Core Graphics 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
- tvOS 14.0–15.4 Deprecated
- watchOS 7.0–8.5 Deprecated
Technology
- Swift
UI