UIKit vs SwiftUI
UIKit Initialization
UseAppDelegate for UIKit apps:
SwiftUI Initialization
Use@UIApplicationDelegateAdaptor for SwiftUI apps:
Screen Tracking Differences
- UIKit: Enable automatic screen tracking with
.autoTrackUIKitScreenViews() - SwiftUI: Manual screen tracking recommended:
visionOS Support
The SDK supports visionOS with limited features.Supported Features
- Core DataPipelines (user identification, event tracking)
- Apple Push Notifications (APNs)
- Location tracking
Unsupported Features
- Firebase Cloud Messaging (FCM)