I have a special button that requesting a permission to allow notification but I see the permission before I clicking the button. Does anybody know how to disable it?
Thank you!
I've been using in AppDelegate.swift
alarmScheduler.setupNotificationSettings()
window?.tintColor = UIColor.red
let notificationSettings = UIUserNotificationSettings(types: .alert, categories: nil)
UIApplication.shared.registerUserNotificationSettings(notificationSettings)
So I just deleted it and resolved my trouble