---
title: "notificationOccurred(_:at:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uinotificationfeedbackgenerator/notificationoccurred(_:at:)"
---

# notificationOccurred(_:at:)

Triggers notification feedback at the specified location.

## Declaration

```swift
func notificationOccurred(_ notificationType: UINotificationFeedbackGenerator.FeedbackType, at location: CGPoint)
```

## See Also

### Producing notification feedback

- [notificationOccurred(_:)](uikit/uinotificationfeedbackgenerator/notificationoccurred(_:).md)
- [UINotificationFeedbackGenerator.FeedbackType](uikit/uinotificationfeedbackgenerator/feedbacktype.md)
