XaiJu
kavsoft
kavsoft

patreon


Creating Bottom Sheets like in the "Find My" app using SwiftUI | iOS 17 | Xcode 15

Source Code For Creating Bottom Sheets like in the "Find My" app using SwiftUI | iOS 17 | Xcode 15.

Download Code πŸ‘‡

Creating Bottom Sheets like in the "Find My" app using SwiftUI | iOS 17 | Xcode 15

Comments

This works on iOS 16 & 17 but doesn't work on iOS 18. The tab bar is unresponsive.

Josh Bromberg

Hey Kavsoft, I want to display a sheet only for one tab item (for example tab item devices). For all other tab items I want to display a simple page without showing a sheet. How can I realize that? The app Polarsteps serves as example. Thank you!

Aaron Bucher

Love this project! πŸ™Œ Two questions: - How can I programmatically expand / collapse the sheet? - Is there a way to know if the sheet is expanded or not from inside the sheet (and outside)? Thanks!

michael gunnulfsen

This was a user error on my part sorry about that!

Lee

Hi, I just tested the app, and it's working fine as intended!

Kavsoft

I cant get the sample app to run at all

Lee

You probably have to enable on the top right corner the Canvas

Raphael Wudernitz

The preview can be displayed without the tab bar by simply adding environment to the preview. like πŸ‘‡ #Preview { Β  Β  Β  ContentView() Β  Β  Β  Β  Β  .environment(SceneDelegate()) }

Kavsoft

The Canvas does not want to be displayed. Although the project is going fine. How to fix it ?

Evgeniy Martyanov

Please use Xcode 15. These will go a long way when we use Xcode 15. Also, Xcode 15 will be out of beta on September 12.

Kavsoft

version for iOS 16 has some errors: 1. ContentView:80 -> Type 'ToolbarItemPlacement' has no member 'topBarLeading' 2. ContentView: 114 -> Type 'InsettableShape' has no member 'circle' 3. ContentView: 154 -> Type 'Shape' has no member 'rect' 4. ContentView:162 -> Type 'Animation?' has no member 'snappy'

Patrycja Patrycja

Cool achievement ....

Andrej


More Creators