johnpatrickmorgan / FlowStacks

FlowStacks allows you to hoist SwiftUI navigation and presentation state into a Coordinator
MIT License
783 stars 56 forks source link

Support custom transition #52

Open toanbv-fabbi opened 1 year ago

toanbv-fabbi commented 1 year ago

I want to customize transition between View like UIViewController Please help me

johnpatrickmorgan commented 1 year ago

Hi @toanbv-fabbi, thanks for your question. There's been a little discussion of this previously: I'd really like to provide a nice API for switching out the current view with a transition but unfortunately there are some limitations to SwiftUI's transition API that have so far prevented me from doing so.

toanbv-fabbi commented 1 year ago

thanks @johnpatrickmorgan Could you suggest me how to make transition like "flipHorizontal" on SwiftUI? vc.modalTransitionStyle = .flipHorizontal