Update UILabel text value , when changing the user permission for notification in application setting page?
问题 In my scenario, User will get an alert for receiving Notification in application. If the user clicks on "Don't Allow" UILabel is updated with "Not enabled". If the user wants to change the notification,User will be navigated to application setting page to change the notification permission status. func checkNotificationPermission(){ UNUserNotificationCenter.current().requestAuthorization(options:[.badge, .alert, .sound]){ (granted, error) in if granted == true { DispatchQueue.main.async {