Type Method


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


class func deleteSavedUserActivities(withPersistentIdentifiers persistentIdentifiers: [NSUserActivityPersistentIdentifier], completionHandler handler: @escaping () -> Void)



The list of persistent identifiers that the system uses to determine which user activities to delete.


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).


Deletes user activities with a persistent identifier matching any identifier in the persistentIdentifiers array.

See Also

Deleting Saved User Activities

class func deleteAllSavedUserActivities(completionHandler: () -> Void)

Deletes all user activities created by your app.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software