Type Method

deleteAllSavedUserActivitiesWithCompletionHandler:

Deletes all user activities created by your app.

Declaration

+ (void)deleteAllSavedUserActivitiesWithCompletionHandler:(void (^)(void))handler;

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

+ deleteSavedUserActivitiesWithPersistentIdentifiers:completionHandler:

Deletes user activities created by your app that have the specified persistent identifiers.