Alb*_*tUI 5 macos xcode swift swiftui
有没有办法.popover()在 SwiftUI 中呈现 macOS 中的动画而无需动画?
Pages 和 Keynote 等应用程序呈现的弹出窗口没有任何动画。我尝试过这个但没有运气:
\nButton() { \n withAnimation(.easeInOut(duration: 0)) {\n popoverPresented.toggle()\n }\n}\nRun Code Online (Sandbox Code Playgroud)\nXcode 12.2 | SwiftUI 2.0 |\xc2\xa0Swift 5.2 | macOS 11.0.1
\n| 归档时间: |
|
| 查看次数: |
328 次 |
| 最近记录: |