Skip to content
Discussion options

You must be logged in to vote

No, there is no such button. But you can make your own button to show the BottomSheet yourself.
You only need to set the bottomSheetPosition of your BottomSheet to any position you want it to be:

Button {
    self.bottomSheetPosition = .relative(0.4)
} label: {
    Text("Open BottomSheet")
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lucaszischka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants