background-processing
Installation
SKILL.md
Background Processing
Register, schedule, and execute background tasks on iOS using BackgroundTasks (BGTaskScheduler), background URLSession, and background push notifications. Targets Swift 6.3 / iOS 26+.
Contents
- Capabilities and Configuration
- Task Selection Matrix
- Core Lifecycle Rules
- Route by Task
- Common Mistakes
- Review Checklist
- References
Capabilities and Configuration
Every task identifier must be declared in Info.plist under BGTaskSchedulerPermittedIdentifiers, or submit(_:) throws BGTaskScheduler.Error.Code.notPermitted.