ToolbarTitleMenu
struct · iOS 16.0+ · SDK 27.1
nonisolated struct ToolbarTitleMenu<Content> where Content : ViewThe title menu of a toolbar. A title menu represents common functionality that can be done on the content represented by your app's toolbar or navigation title. This menu may be populated from your app's commands like ``CommandGroupPlacement/saveItem`` or ``CommandGroupPlacement/printItem``. ContentView() .toolbar { ToolbarTitleMenu() } You can provide your own set of actions to override this behavior. ContentView() .toolbar { ToolbarTitleMenu { DuplicateButton() PrintButton() } } In iOS and iPadOS, this will construct a menu that can be presented by tapping the navigation title in the app's 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
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ToolbarTitleMenu.init(content:)
callback cannot propagate synchronous failure