init(id: String, placement: ToolbarItemPlacement , showsByDefault : Bool, content: () -> Content)
Creates a toolbar item with the specified placement and content, which allows for user customization.
Available when
ID
is String
and Content
conforms to View
.
ID
がString
であるそしてContent
がView
に準拠する時に利用可能です。
init(placement: ToolbarItemPlacement , content: () -> Content)
Creates a toolbar item with the specified placement and content.
Available when
ID
is Void
and Content
conforms to View
.