Realtime way to detect push notifcation is enable or not in swift (Combine publisher) – Ios swift
I have a function that checks whether the user has enabled their push notification/ notification alert in the iphone. If the user has turned on their notification, it will print true in the swift view, and if the user has…