A string that uniquely identifies the window group. Identifiers must be unique among the window groups in your app.
Initializerinit(id:
init(id:content:)
Creates a window group with an identifier.
Availability 有効性
- iOS 14.0+
- iPadOS 14.0+
- macOS 11.0+
- Mac Catalyst 14.0+
- tvOS 14.0+
- watchOS 7.0+
Technology
- Swift
UI
Declaration 宣言
init(id: String
, content: () -> Content)
Parameters パラメータ
id
content
A closure that creates the content for each instance of the group.
Discussion 議論
The window group uses the given view as a template to form the content of each window in the group.