The name of the system symbol image. Use the SF Symbols app to look up the names of system symbol images.
Initializerinit(system
init(systemName:)
Creates a system symbol image.
Availability 有効性
- iOS 13.0+
- iPadOS 13.0+
- macOS 11.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Technology
- Swift
UI
Declaration 宣言
init(systemName: String
)
Parameters パラメータ
systemName
Discussion 議論
This initializer creates an image using a system-provided symbol. To create a custom symbol image from your app’s asset catalog, use init(_:
instead.