Post

Replies

Boosts

Views

Activity

Reply to Get custom EnvironmentValue into PresentationDetent.Context for CustomPresentationDetent implementation.
I too have been struggling with this. I've also tried the .environment(\.myEnvironmentValue, ...) after the .sheet(isPresented: ...) modifier. Nothing I've tried has worked. Is this API functional? I'd love to know.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24