Interface UIWindowSceneDelegate

    • Method Detail

      • setWindow

        default void setWindow​(UIWindow value)
      • windowSceneDidUpdateCoordinateSpaceInterfaceOrientationTraitCollection

        default void windowSceneDidUpdateCoordinateSpaceInterfaceOrientationTraitCollection​(UIWindowScene windowScene,
                                                                                            UICoordinateSpace previousCoordinateSpace,
                                                                                            long previousInterfaceOrientation,
                                                                                            UITraitCollection previousTraitCollection)
      • windowSceneUserDidAcceptCloudKitShareWithMetadata

        default void windowSceneUserDidAcceptCloudKitShareWithMetadata​(UIWindowScene windowScene,
                                                                       CKShareMetadata cloudKitShareMetadata)
        Called after the user indicates they want to accept a CloudKit sharing invitation in your application and the window scene is already connected. You should use the CKShareMetadata object's shareURL and containerIdentifier to schedule a CKAcceptSharesOperation, then start using the resulting CKShare and its associated record(s), which will appear in the CKContainer's shared database in a zone matching that of the record's owner.