Set Up User Feedback

Learn how to enable User Feedback in your Cocoa app.

The User Feedback API allows you to collect user feedback while using your own UI components. You can submit feedback directly using the SentrySDK.capture(feedback:) method:

Copied
SentrySDK.capture(feedback: .init(
    message: "I encountered a bug while using the app.",
    name: "John Doe",
    email: "john.doe@example.com",
    source: .custom,
    screenshot: somePngImageData // optional
))
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").