TabsBuilder

Declares the application's tabs.
public sealed class TabsBuilder

Methods

Accessory

Shows a view of the given type in the tab bar's accessory slot.

The view's IsVisible controls the slot. iOS 26 and later.

public TabsBuilder Accessory<TView>() where TView : View, new()
Type parameterSummary
View TViewThe view type to host.

Returns

Bubble

Puts a destination page in the separated bubble on iOS 26, with a regular tab fallback on earlier versions.

public TabsBuilder Bubble<TView>(
  string title,
  ImageSource icon) where TView : ContentView
ParameterSummary
string titleThe title, shown in the sidebar and read by VoiceOver.
ImageSource iconThe local icon shown in the bubble.
Type parameterSummary
ContentView TViewThe type of the content view to host in the bubble.

Returns

Bubble

Puts an action button in the separated bubble instead of search, with a regular tab-shaped action on earlier versions.

The bubble is single: Search and Bubble exclude each other.

public TabsBuilder Bubble(
  string title,
  ImageSource icon,
  Action tapped)
ParameterSummary
string titleThe title, shown in the sidebar and read by VoiceOver.
ImageSource iconThe local icon shown in the bubble.
Action tappedRuns on tap.

Returns

Bubble

Puts an action button in the separated bubble, firing a command from a ViewModel resolved from the services.

public TabsBuilder Bubble<TViewModel>(
  string title,
  ImageSource icon,
  Func<TViewModel, ICommand> command,
  object? commandParameter = null) where TViewModel : class
ParameterSummary
string titleThe title, shown in the sidebar and read by VoiceOver.
ImageSource iconThe local icon shown in the bubble.
Func<TViewModel, ICommand> commandPicks the command off the ViewModel.
(optional) object? commandParameterThe parameter passed to the command.
Type parameterSummary
(class) TViewModelThe ViewModel type carrying the command.

Returns

Group

Adds a group of related destinations to the tab hierarchy.

public TabsBuilder Group(
  string title,
  ImageSource icon,
  Action<GroupBuilder> children,
  TabPlacement placement = SidebarOnly)
ParameterSummary
string titleThe group's title.
ImageSource iconThe local icon shown for the group.
Action<GroupBuilder> childrenDeclares the destinations inside the group.
(optional) TabPlacement placementHow the group participates in the tab bar and sidebar.

Returns

Adds the system search destination. It is a regular tab on iOS 18 and uses the separated search presentation on iOS 26.

public TabsBuilder Search<TView>(
  bool bubble = true) where TView : ContentView
ParameterSummary
(optional) bool bubbleWhether to put the search tab in the system bubble.
Type parameterSummary
ContentView TViewThe type of the content view to host in the tab.

Returns

Enables the adaptive sidebar and configures its presentation.

Compact environments keep the tab bar. When a sidebar is available, UIKit switches to it without rebuilding the tabs.

public TabsBuilder Sidebar(
  Action<SidebarBuilder>? configure = null)
ParameterSummary
(optional) Action<SidebarBuilder>? configureOptionally configures the sidebar layout.

Returns

Split

Adds a native split view as a tab destination.

public TabsBuilder Split(
  string title,
  ImageSource icon,
  Action<SplitViewBuilder> configure,
  TabPlacement placement = Automatic)
ParameterSummary
string titleThe text displayed on the tab bar item.
ImageSource iconThe local icon shown on the tab.
Action<SplitViewBuilder> configureDeclares the split view's columns and native configuration.
(optional) TabPlacement placementHow the destination takes part in tab and sidebar customization.

Returns

Tab

Adds a tab page to the navigation structure.

public TabsBuilder Tab<TView>(
  string title,
  ImageSource icon,
  TabPlacement placement = Automatic) where TView : ContentView
ParameterSummary
string titleThe text displayed on the tab bar item.
ImageSource iconThe local icon shown on the tab.
(optional) TabPlacement placementHow the destination participates in the tab bar and sidebar.
Type parameterSummary
ContentView TViewThe type of the content view to host in the tab.

Returns