Building in-app UI for iOS and macOS
Learn more about the in-app notifications experiences you can build for iOS and macOS applications with Knock.
Our Swift SDK library lets you create notification experiences using Knock's APIs. It comes with pre-built UI components that you can use to easily get up and running with a fully functional notification feed experience in your product.
Getting started
Please reference our iOS SDK documentation to setup the library.
Pre-built components
The Knock React SDK ships the following pre-built UI elements:
In-app notifications
InAppFeedView: A full-page list of notifications.InAppFeedViewController: A wrapper for InAppFeedView to be used with UIKit.InAppFeedViewModel: All of the logic needed to support your in-app feed. Can be used independently fromInAppFeedViewif you want to build your own UI.InAppFeedNotificationIconButton: For adding a bell icon to your application that shows the current count of unread or unseen notifications.