usernotifications

Query Apple UserNotifications documentation for authorization, scheduling, triggers, and content.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Roy-wonji/claude-config --skill usernotifications-roy-wonji
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: usernotifications
Source: https://github.com/Roy-wonji/claude-config/tree/main/skills/apple-skills/skills/usernotifications
Command: npx skills add https://github.com/Roy-wonji/claude-config --skill usernotifications-roy-wonji

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you quickly find the right Apple UserNotifications API details for implementing local/remote notifications, permissions, scheduling, and notification content.

Core Features & Use Cases

  • Notification center management: Look up how to use UNUserNotificationCenter for authorization, scheduling, delivered/pending notifications, and categories.
  • Requests, triggers, and content: Find how to build UNNotificationRequest with UNNotificationTrigger (calendar/interval) and configure UNMutableNotificationContent.
  • Practical scenarios: Use it when you need to confirm which methods to call, what parameters to use, and how to structure your notification payload for iOS apps.

Quick Start

Ask the AI to explain how to request notification authorization and schedule a repeating calendar-based local notification with a title, body, and sound.

Frequently Asked Questions about usernotifications

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I request notification authorization for iOS local notifications?

To request notification authorization for iOS local notifications, use the UNUserNotificationCenter API to request authorization options. This involves configuring authorization options for alerts, sounds, and badges before scheduling any notification requests.

What is the difference between calendar and time interval triggers in UserNotifications?

Calendar triggers schedule notifications using specific date components, while time interval triggers fire after a set duration. Choose calendar triggers for exact date scheduling and time interval triggers for countdown-based local notifications.

How do I configure notification content with title, body, and sound?

Configure notification content using UNMutableNotificationContent to set the title, body, and sound properties. This mutable object builds the payload for your UNNotificationRequest before scheduling it with the notification center.

How does UNUserNotificationCenter manage pending and delivered notifications?

UNUserNotificationCenter manages pending and delivered notifications by providing methods to retrieve, inspect, and remove them. Use getPendingNotificationRequests and getDeliveredNotifications to inspect the current notification state in your iOS app.

How do I schedule a repeating local notification with a calendar trigger?

Schedule a repeating local notification by creating a UNCalendarNotificationTrigger with date components and set repeats to true. Combine this trigger with UNNotificationRequest and add it to UNUserNotificationCenter for delivery.

Can I inspect delivered and pending notification state using UserNotifications API?

Yes, you can inspect delivered and pending notification state using UNUserNotificationCenter methods. Retrieve pending requests with getPendingNotificationRequests and delivered notifications with getDeliveredNotifications to monitor active iOS notification status.