As of iOS 16.0.3, this issue appears to have gone away when using the Apple sample app. I am still using the same downloaded code, so a fix was possibly made by Apple on CloudKit side of things.
After investigating, I still encountered the issue when invoking UICloudSharingController using UIViewControllerRepresentable (like in the RayW sample code).
The issue does not appear (anymore) when invoking UICloudSharingController using UIViewController (like in the Apple sample code).
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: