AS
Size: a a a
AS
AS
AY
A
O
GZ
ГН
SM
AO
UU
D
UNUserNotificationCenter.current().getNotificationSettings(completionHandler: { (settings)
in
if settings.authorizationStatus == .notDetermined {
// Notification permission has not been asked yet, go for it!
}
else
if settings.authorizationStatus == .denied {
// Notification permission was previously denied, go to settings & privacy to re-enable
print("запрещено")
}
else
if settings.authorizationStatus == .authorized {
}
})
AO
J
ID