Agent Skills: iOS Notifications

Push notifications for iOS using UserNotifications framework and APNS. Use when integrating APNS push notifications in iOS applications. (triggers: **/*Notification*.swift, **/*AppDelegate.swift, UNUserNotificationCenter, APNS, UNNotificationRequest, deviceToken)

UncategorizedID: hoangnguyen0403/agent-skills-standard/ios-notifications

Install this agent skill to your local

pnpm dlx add-skill https://github.com/HoangNguyen0403/agent-skills-standard/tree/HEAD/skills/ios/ios-notifications

Skill Files

Browse the full folder contents for ios-notifications.

Download Skill

Loading file tree…

skills/ios/ios-notifications/SKILL.md

Skill Metadata

Name
ios-notifications
Description
"Push notifications for iOS using UserNotifications framework and APNS. Use when integrating APNS push notifications in iOS applications. (triggers: **/*Notification*.swift, **/*AppDelegate.swift, UNUserNotificationCenter, APNS, UNNotificationRequest, deviceToken)"

iOS Notifications

Priority: P2 (OPTIONAL)

Push notifications using UserNotifications framework and APNs.

Guidelines

  • Framework: Use UserNotifications for all notification handling.
  • Delegate: Implement UNUserNotificationCenterDelegate for foreground & tap handling.
  • Permissions: Request .alert, .badge, .sound after priming the user.
  • APNs: Register for remote notifications in AppDelegate.
  • Badges: Manage app icon badges manually (set to 0 to clear).

See APNs registration and permission examples

Anti-Patterns

  • No Unconditional Requests: Explain value proposition before system dialog.
  • No Missing Delegate: Notifications won't trigger foreground callbacks without it.
  • No Forgotten Badge Clear: User frustration increases if badges persist.

References