How to use SwiftUI to create a sheet menu that adapts to a wide screen like the Apple Maps App
页 次 横向屏幕应用表菜单
I tried to use Sheet directly and changed the height and allowed to interact with the background by getting sheetPresentationController, but in the iPad or horizontal iPhone, I can t find a suitable way to align the menu to one side and allow it to interact with the background.
I also tried to use other third-party configurations, but there are not many adaptations, and the appearance is not similar to sheet. How do I need to make such a sheet menu just like in Apple Map app?
我试图将来文方意见列入主席团的议事录中,但还是做了一些工作。 在iPad直接使用Sheet将显示在屏幕中心,在适应横向iP时会出现问题。