Patrefans
kavsoft from patreon
kavsoft patreon

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

🕑 Added 2023-08-23 09:22:13 +0000 UTC
Creating Bottom Sheets like in the "Find My" app using SwiftUI | iOS 17 | Xcode 15

Comments

Josh Bromberg

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

Aaron Bucher

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!

michael gunnulfsen

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!

Lee

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

Kavsoft

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

Lee

I cant get the sample app to run at all

Raphael Wudernitz

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

Kavsoft

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

Evgeniy Martyanov

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

Kavsoft

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.

Patrycja Patrycja

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'

Andrej

Cool achievement ....


More Creators