iOS Platform & SwiftUI (50 Qs)•Part 3: Instruments Profiling, App Architecture & Production Hardening (25 - 35)
How do Apple Push Notifications (APNs) work including Background Push and Notification Service Extensions?
senior LevelPerformanceSystem Design
In Simple Words:
- Standard Push: Displays alert, sound, badge.
- Background Push (
content-available: 1): Wakes app silently for up to 30 seconds to fetch fresh content. - Notification Service Extension: Intercepts encrypted push payloads before display to decrypt media or download attachments.