Skip to content

Mechanism to open BottomSheet on top of a navigation bar #71

Answered by lucaszischka
deankroker asked this question in Q&A
Discussion options

You must be logged in to vote

Does the following work for you?

        TabView(selection: $selectedView) {
            Text("First View")
            .tabItem {
                Label("First", systemImage: "1.circle")
            }
            .tag(1)

            Text("Second View")
            .tabItem {
                Label("Second", systemImage: "2.circle")
            }
            .tag(2)
        }
        .bottomSheet(...)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lucaszischka
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #60 on June 26, 2022 20:16.