top of page

Local notifications

Updated: Oct 11, 2022

This post showcases the use of local notifications. The app is designed to show a badge over the notifications tab whenever the user sells one of their posts. The same principles are used to push notification badges to users when they receive a new message. The code ultimately works by listening for new notifications to be appended to the notifications array. When a new notification is appended the code is set up to display a badge over the icon that has received the new notification and only disappearing when the new notification is seen (when the user clicks on the icon). Below are screenshots of some of the code that makes it work as well as the final product as viewed from the view controller.





10 views0 comments

Recent Posts

See All

Comments


bottom of page