EKEventKit.Example icon indicating copy to clipboard operation
EKEventKit.Example copied to clipboard

iOS 15, "bottom sheet"

Open skegget opened this issue 3 years ago • 3 comments

Hi Filip,

I read your blog post about the "bottom sheet" in iOS 15 and I noticed that you used the calendar chooser from your EKEventKit example. I would like to use that style myself but I'm not sure how to implement it. Would you mind giving me a complete example of how to use the bottom sheet style in your calendar chooser (which I'm using in my SwiftUI project)?

I would really appreciate it, thanks in advance!

skegget avatar Aug 26 '21 21:08 skegget

Hello! Apologies, I missed this notification. Do you still need the sample code?

nemecek-filip avatar Sep 11 '21 19:09 nemecek-filip

Hello! Apologies, I missed this notification. Do you still need the sample code?

No worries! Yes, if it's ok with you that would be great.

Thanks!

skegget avatar Sep 11 '21 20:09 skegget

Hmm since you are using SwiftUI, this bottom sheet is not natively supported yet. But there are some libraries that can help. Check this one for example - https://github.com/adamfootdev/BottomSheet

nemecek-filip avatar Sep 11 '21 20:09 nemecek-filip