> 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)
curl "https://skillshub.wtf/HoangNguyen0403/agent-skills-standard/ios-notifications?format=md"iOS Notifications
Priority: P2 (OPTIONAL)
Push notifications using UserNotifications framework and APNs.
Guidelines
- Framework: Use
UserNotificationsfor all notification handling. - Delegate: Implement
UNUserNotificationCenterDelegatefor foreground & tap handling. - Permissions: Request
.alert,.badge,.soundafter priming the user. - APNs: Register for remote notifications in
AppDelegate. - Badges: Manage app icon badges manually (set to 0 to clear).
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.
Related Topics
ios-navigation | ios-design-system | mobile-ux-core
> related_skills --same-repo
> typescript-tooling
Development tools, linting, and build config for TypeScript. Use when configuring ESLint, Prettier, Jest, Vitest, tsconfig, or any TS build tooling. (triggers: tsconfig.json, .eslintrc.*, jest.config.*, package.json, eslint, prettier, jest, vitest, build, compile, lint)
> typescript-security
Secure coding practices for TypeScript. Use when validating input, handling auth tokens, sanitizing data, or managing secrets and sensitive configuration. (triggers: **/*.ts, **/*.tsx, validate, sanitize, xss, injection, auth, password, secret, token)
> typescript-language
Modern TypeScript standards for type safety and maintainability. Use when working with types, interfaces, generics, enums, unions, or tsconfig settings. (triggers: **/*.ts, **/*.tsx, tsconfig.json, type, interface, generic, enum, union, intersection, readonly, const, namespace)
> typescript-best-practices
Idiomatic TypeScript patterns for clean, maintainable code. Use when writing or refactoring TypeScript classes, functions, modules, or async logic. (triggers: **/*.ts, **/*.tsx, class, function, module, import, export, async, promise)