Contents

deleteAllSavedUserActivities(completionHandler:)

Deletes all user activities created by your app.

Declaration

class func deleteAllSavedUserActivities(completionHandler handler: @escaping  @Sendable () -> Void)
class func deleteAllSavedUserActivities() async

Parameters

  • handler:

    The block that the system invokes after deleting the user activities. Wait for the system to call this block to ensure that the system deletes the activities (or marks them for deletion).

Discussion

Deletes all user activities stored by Core Spotlight or donated as Siri shortcuts.

See Also

Deleting saved user activities