SystemNotification is a
SwiftUI library that lets you mimic the native iOS system notification, which for instance is presented when toggling silent mode on and off on your iPhone.
The result can look like this, or completely different:
System notifications have a standard style, but can be customized to great extent to fit your specific needs.
tvOS 14 and
SystemNotification can be installed with the Swift Package Manager:
or with CocoaPods
You can also clone the repository and build the library locally.
The online documentation has a getting-started guide that will help you get started with the library.
The online documentation has articles, code examples etc. that let you overview the various parts of the library.
The online documentation is currently iOS-specific. To generate documentation for other platforms, open the package in Xcode, select a simulator then run
This project has a demo app that lets you explore the library on iOS and macOS. To try it out, just open and run
You can sponsor this project on GitHub Sponsors or get in touch for paid support.
Feel free to reach out if you have questions or if you want to contribute in any way:
SystemNotification is available under the MIT license. See the LICENSE file for more info.