One Logo Pool Ball
SwiftUI · IOS API REFERENCE

ToolbarItem

struct · iOS 14.0+ · SDK 27.1

nonisolated struct ToolbarItem<ID, Content> where Content : View

A model that represents an item which can be placed in the toolbar or navigation bar.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ToolbarItem.init(placement:content:)

callback cannot propagate synchronous failure

ToolbarItem.init(id:placement:content:)

callback cannot propagate synchronous failure

ToolbarItem.init(id:placement:showsByDefault:content:)

callback cannot propagate synchronous failure

All SwiftUI types →