mobile-tooling / library
SystemNotification
Capability: SystemNotification
Use it when
- You need an in-app SwiftUI banner that looks like the native iOS overlay shown when toggling silent mode or connecting AirPods
- You want a single view modifier that can present many differently styled transient notifications across an app without hand-rolling overlay and animation code
What it solves
Not the fit when
- Sending remote or scheduled push notifications
- Non-SwiftUI or non-Apple-platform apps
- remote push notification delivery
- cross-platform android or web toasts
- notification scheduling or persistence
Install
Add the Swift package in Xcode or Package.swift: https://github.com/danielsaidi/SystemNotification.git
Invoke
Apply .systemNotification(isActive: $binding) { content } to your root view, or create a SystemNotificationContext and call notification.present { SystemNotificationMessage(icon:title:text:) }Alternatives
No reviewed alternatives recorded yet.