deleteAllSavedUserActivities(completionHandler:)
Deletes all user activities created by your app.
Declaration
class func deleteAllSavedUserActivities(completionHandler handler: @escaping @Sendable () -> Void)class func deleteAllSavedUserActivities() asyncParameters
- 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.