Skip to content

tabViewStyle(.sidebarAdaptable) #378

@dfabulich

Description

@dfabulich

https://developer.apple.com/documentation/SwiftUI/TabViewStyle/sidebarAdaptable

Tab views using the sidebar adaptable style have an appearance that varies depending on the platform:

  • iPadOS displays a top tab bar that can adapt into a sidebar.
  • iOS displays a bottom tab bar.
  • macOS and tvOS always show a sidebar.

This matches Google's recommended "adaptive navigation" style.

https://developer.android.com/develop/ui/compose/layouts/adaptive/build-adaptive-navigation

The default behavior is to show either of the following UI components:

  • Navigation bar if the width or height is compact or if the device is in tabletop posture
  • Navigation rail for everything else

Metadata

Metadata

Assignees

Labels

navigationIssues with navigation behavior parity between SwiftUI and Jetpack Compose

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions