ShareLink does not prompt inside of fullScreenCover

When I try to launch a ShareLink from within a fullScreenCover, I get the following error:

Attempt to present <UIActivityViewController: 0x105e6a400> on <_TtGC7SwiftUI19UIHostingControllerGVS_15ModifiedContentVS_7AnyViewVS_12RootModifier__: 0x1053a37c0> (from <_TtGC7SwiftUI19UIHostingControllerVVS_7TabItem8RootView_: 0x105eb8a00>) which is already presenting <_TtGC7SwiftUI29PresentationHostingControllerVS_7AnyView_: 0x114890000>

Seems like a bug, has anyone else encountered this or found a way around it?

Could you please provide a test project that reproduces the specific issue and the OS version you tested on. That'll help us better understand what's going on.

If you're not familiar with preparing a test project, take a look at Creating a test project.

ShareLink does not prompt inside of fullScreenCover
 
 
Q