---
title: "visit(_:)"
framework: Contacts
role: symbol
role_heading: Instance Method
platforms: [iOS 13.0+, iPadOS 13.0+, Mac Catalyst 13.1+, macOS 10.15+, visionOS 1.0+, watchOS 6.0+]
path: contacts/cnchangehistoryeventvisitor/3113273-visitdeletecontactevent
---

# visit(_:)

Tells the delegate that the user deleted a contact.

## Declaration

```swift
func visit(_ event: CNChangeHistoryDeleteContactEvent)
```

## Parameters

- `event`: The event object that represents a user deleting a contact.

## Discussion

Inspect the contact identifier in the event that the system provides and update your app’s cached data accordingly.

## See Also

### Updating contacts

- [visit(_:)](visit(_:)-9w73y.md)
- [visit(_:)](visit(_:)-1pf2a.md)
