iOS Image Carousel Push Notifications
Image carousel in Pushwoosh iOS push notifications using Swift.
Last updated
Image carousel in Pushwoosh iOS push notifications using Swift.
Last updated
The UNNotificationContentExtension
protocol provides the entry point for a notification content app extension, which displays a custom interface for your app’s notifications.
In Xcode, select File > New > Target...
Choose the Notification Content Extension
Name it NotificationContentExtension
Download PWNotificationExtension from Github and replace the PWNotificationContentExtension
in your Xcode Project with the same file from Github.
Add the code bellow to your AppDelegate.swift file
iOS Category:
Send a Push Notification with APS json:
Custom Data
You must list the Image URLs separated by a comma ,
Send the Push Notification
Once you receive the push, you will need to long press or swipe left and click "View" to expand the notification depending on the iOS version.