Interface UIWindowSceneDelegate

    • Method Detail

      • setWindow

        default void setWindow​(@Nullable
                               @Nullable UIWindow value)
      • window

        @Nullable
        default @Nullable UIWindow window()
      • windowSceneDidUpdateCoordinateSpaceInterfaceOrientationTraitCollection

        default void windowSceneDidUpdateCoordinateSpaceInterfaceOrientationTraitCollection​(@NotNull
                                                                                            @NotNull UIWindowScene windowScene,
                                                                                            @NotNull
                                                                                            @NotNull UICoordinateSpace previousCoordinateSpace,
                                                                                            long previousInterfaceOrientation,
                                                                                            @NotNull
                                                                                            @NotNull UITraitCollection previousTraitCollection)
        Called when the coordinate space, interface orientation, or trait collection of a UIWindowScene changes Always called when a UIWindowScene moves between screens
      • windowSceneUserDidAcceptCloudKitShareWithMetadata

        default void windowSceneUserDidAcceptCloudKitShareWithMetadata​(@NotNull
                                                                       @NotNull UIWindowScene windowScene,
                                                                       @NotNull
                                                                       @NotNull 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.