Symbols: 83.8% of Apple's iOS API (212 of 253, exact) · Rows: 12: 12 ✅ · iOS: 10.0+
Area: App extensions & system integration · Apple: UserNotifications · Issues: area:system
- Adapted: isim's own Objective-C framework (
isim/frameworks/UserNotifications). - The shell draws banners and Notification Center and runs the scheduler.
- Pushes come from
isim push; content extensions run as helper processes.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
| UserNotifications: authorization request | ✅ | ≤17 | the iOS permission alert, answer remembered per app; provisional authorization; notificationSettings(); ISIM_NOTIFICATION_PERMISSION=allow|deny. No per-app page in isim Settings |
Local notifications (UNNotificationRequest, time/calendar triggers) |
✅ | ≤17 | time-interval and calendar (DateComponents) triggers, repeating, pending/delivered lists, persisted across launches; fire while the app runs, and a suspended app is woken when one is due (the app delivers it). Apps that are not running under isim boot get them from the system, like iOS: the home screen's scheduler reads each app's pending requests (with their next fire time) and the shell shows the due ones; the request then leaves the pending list (a repeating one moves to its next time) and is listed as delivered, with its badge. Tested (systemui, push, HelloAlerts: test_alerts, OS matrix) |
| Notification presentation (banners, Notification Center, foreground delegate, sounds, attachments, thread grouping, interruption levels) | ✅ | ≤17 | willPresent/didReceive (+ async); iOS-style banner in the app (touches outside it reach the app) or, for a backgrounded or not-running app, drawn by the shell over the screen; tap opens the app with the default action. Notification Center and the lock screen list them (open, clear; removeDeliveredNotifications) and stack an app's notifications by threadIdentifier (newest on top, plates under it, the category's categorySummaryFormat with summaryArgument / summaryArgumentCount, else "N more notifications"; a tap expands the stack, Show Less collapses it); Focus hides banners. Sounds play (adapted: isim's own synthesized default and ringtone sounds; files from the app bundle or Library/Sounds; UNNotificationSound critical and ringtone sounds with their volume): the shell plays them under isim boot (Silent Mode mutes all but critical alerts; script silent on|off), the app itself otherwise. Interruption levels: passive (listed, no banner or sound), active, time sensitive (through Focus, with the entitlement), critical (through Focus and Silent Mode, with the entitlement and the .criticalAlert grant). Image attachments (UNNotificationAttachment, copied to the attachment store) show as thumbnails. Tested (systemui, push, HelloAlerts: test_alerts, OS matrix). relevanceScore and filterCriteria are kept (no summaries or Focus filters on them) |
Notification actions and categories (UNNotificationCategory, UNNotificationAction, UNTextInputNotificationAction) |
✅ | ≤17 | long press (holdid nc-item-ID) expands a notification: the category's actions (destructive in red), text input with a reply field, .foreground actions open the app, background actions run as a background task (the app is launched in the background when needed), .customDismissAction sends the dismiss action; responses reach the delegate even after a relaunch (adapted: the shell draws the expanded view). Tested (push) |
| Push notifications (registration, device token, payloads) | ✅ | ≤17 | adapted, like the Simulator (Xcode 14+): registerForRemoteNotifications gives a 32-byte device token (needs the aps-environment entitlement; ISIM_PUSH_REGISTRATION=fail); payloads from isim push [BUNDLE] file|-, the push script command or a dropped .apns file (Simulator Target Bundle); no APNs. alert (title/subtitle/body, loc keys), badge, sound, category, thread-id, content-available (didReceiveRemoteNotification:fetchCompletionHandler: as a background task; a closed app is launched in the background with UIBackgroundModes remote-notification), mutable-content; launch options carry the payload; not-running apps' alerts are shown by the system. Tested (push) |
Notification Service extensions (UNNotificationServiceExtension) |
✅ | ≤17 | run as a helper process before display for mutable-content pushes with an alert; the modified content and attachments are shown; serviceExtensionTimeWillExpire after 30 s (ISIM_NOTIFICATION_SERVICE_SECONDS), then the best attempt or the original. Tested (push) |
Notification Content extensions (UNNotificationContentExtension, UserNotificationsUI) |
✅ | ≤17 | for the categories in UNNotificationExtensionCategory: the view controller gets didReceive(_:) in a helper process that lives as long as the expanded notification; its view is drawn there and again whenever it changes (size from UNNotificationExtensionInitialContentSizeRatio / preferredContentSize, UNNotificationExtensionDefaultContentHidden). With UNNotificationExtensionUserInteractionEnabled touches reach its views. The media play / pause button (mediaPlayPauseButtonType, frame, tint) calls mediaPlay() / mediaPause() (mediaPlayingStarted / Paused from the extension). extensionContext.notificationActions replaces the actions; choosing one calls didReceive(_:completionHandler:) (keep, dismiss, or dismiss and forward to the app; without it: forwarded); performNotificationDefaultAction, dismissNotificationContentExtension. Adapted: the shell draws the expanded notification. Tested (push, HelloAlerts: test_alerts, OS matrix) |
App icon badges (setBadgeCount, applicationIconBadgeNumber, aps.badge) |
✅ | ≤17 | red badge on the home-screen icon when the app may badge (UNAuthorizationOptionBadge); set by the app, by a push (system) or by a delivered notification; 0 clears it. Tested (push) |
Location triggers (UNLocationNotificationTrigger: init(region:repeats:), region) |
✅ | ≤17 | adapted: the simulated location (location LAT LON, Features > Location, ISIM_LOCATION) crossing a CLCircularRegion's boundary fires it, on entry and/or exit as the region's notifyOnEntry / notifyOnExit say; where the device is when the request is added does not fire. Needs location authorization (when in use is enough), like iOS. The app watches the location while it runs; for an app that is not running the home screen does (and a suspended app is resumed to deliver it). Other region kinds never fire. Objective-C: triggerWithRegion:repeats:. Tested (HelloPush: test_location_and_communication, per iOS version) |
Communication notifications (UNNotificationContentProviding, UNNotificationContent.updating(from:); INSendMessageIntent and INStartCallIntent conform) |
✅ | ≤17 | adapted: with the Communication Notifications capability (com.apple.developer.usernotifications.communication), the sender's name becomes the title (a group conversation: the group's name, with the sender as subtitle), and the sender's image (or a monogram of their initials on grey), with the app icon in its corner, replaces the app icon in banners and Notification Center; works in Notification Service extensions. Without the capability the content comes back unchanged; a message without a sender or a call without contacts throws contentProvidingInvalid, other objects contentProvidingObjectNotAllowed. Tested (HelloPush: test_location_and_communication, per iOS version) |
UNNotificationResponse.targetScene |
✅ | ≤17 | adapted: the app's foreground-active scene, else its first connected scene; nil in an app without scenes (tested: HelloPush, test_push_running) |
UNNotificationAttributedMessageContext (init(sendMessageIntent:attributedContent:)) |
✅ | 18.0 | adapted: a communication notification from the message intent whose body is the attributed content's text (isim's banners draw it as plain text). Tested (HelloPush's service extension: test_location_and_communication under iOS 18 and later) |
41 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.
List
convenience init(dateMatchingComponents: DateComponents, repeats: Bool)UNErrorstatic var attachmentCorrupt: UNError.Codestatic var attachmentInvalidFileSize: UNError.Codestatic var attachmentInvalidURL: UNError.Codestatic var attachmentMoveIntoDataStoreFailed: UNError.Codestatic var attachmentNotInDataStore: UNError.Codestatic var attachmentUnrecognizedType: UNError.Codestatic var badgeInputInvalid: UNError.CodeUNError.Codecase attachmentCorruptcase attachmentInvalidFileSizecase attachmentInvalidURLcase attachmentMoveIntoDataStoreFailedcase attachmentNotInDataStorecase attachmentUnrecognizedTypecase badgeInputInvalidcase contentProvidingInvalidcase contentProvidingObjectNotAllowedinit?(rawValue: Int)case notificationInvalidNoContentcase notificationInvalidNoDatecase notificationsNotAllowedstatic var contentProvidingInvalid: UNError.Codestatic var contentProvidingObjectNotAllowed: UNError.Codestatic var errorDomain: Stringstatic var notificationInvalidNoContent: UNError.Codestatic var notificationInvalidNoDate: UNError.Codestatic var notificationsNotAllowed: UNError.Codevar appEntityIdentifiers: [EntityIdentifier]init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)