Features
Learn about Sentry's Apple SDK features for iOS.
Sentry's Apple SDK for iOS enables automatic reporting of errors and exceptions, and identifies performance issues in your application. All features listed below are enabled by default unless otherwise noted.
The SDK builds a crash report that persists to disk. On iOS, crash reports are sent on the next app launch, not immediately after the crash, because iOS only allows async-safe code during crashes and network requests are not async-safe.
For a complete list of all available features, see the main Features page. This page highlights iOS-specific features and capabilities.
iOS supports comprehensive error detection:
- Crash detection for all types of crashes and exceptions
- App hang detection for when the app becomes unresponsive
- Watchdog termination tracking for abnormal process terminations
- HTTP client errors automatically captured
- Events enriched with device data, environment information, and app state
- Breadcrumbs are automatically captured for app lifecycle, touch events, system events, and network requests
- Attachments for storing additional files with events
- Source Context shows code snippets around stack frames
- Screenshot capture when errors occur
- View Hierarchy capture when errors occur
Logs capturing is available and requires the enableLogs option to be enabled.
iOS supports all performance monitoring features:
- App start tracking for cold and warm app start times
- Frame rate tracking for UI rendering performance and slow/frozen frame identification
- User interaction tracking that automatically creates transactions for UI interactions
- Network request monitoring for HTTP request performance
- File I/O performance tracking for file operations
- Core Data performance tracking for Core Data query performance
Session Replay records user sessions for visual debugging, helping you understand what happened before, during, and after an error.
- Available on iOS 16+
- Requires SDK version 8.31.1 or later
- Requires enabling the
enableSessionReplayoption
Session Replay is automatically disabled on iOS 26.0+ when built with Xcode 26.0+ to prevent potential PII leaks due to Apple's Liquid Glass rendering changes. See the Session Replay troubleshooting guide for details.
User Feedback provides a built-in UI to collect user information when an error occurs. You must call the User Feedback API to display the UI.
- Requires calling the User Feedback API to show the UI
For configuration options and detailed documentation, see the Configuration section.
- MetricKit integration available on iOS 15+ (requires
enableMetricKitoption) - Release health tracks crash-free users and sessions
- Swift Async/Await support for automatically stitching together stack traces of Swift concurrency code
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").