Top "Usernotifications" questions

iOS 10 UserNotifications framework

Delete a particular local notification

I am developing an iPhone alarm app based on local notifications. On deleting an alarm, the related local notification should …

objective-c iphone uilocalnotification usernotifications
Enable or Disable Iphone Push Notifications inside the app

I have a iphone app which is enable to receive push notifications. Currently i can disable push notifications for my …

ios swift push-notification unusernotificationcenter usernotifications
How to schedule a local notification in iOS 10 (objective-c)

I'd like to schedule local notifications using iOS 10. I'd like to know how to do this. I've looked all around …

objective-c ios10 usernotifications
How to use UNNotificationPresentationOptions

In iOS 10 , there is an option for presenting the notification when the app is in foreground using UNNotificationPresentationOptions, but i …

ios swift usernotifications
Check whether user notifications are enabled after UILocalNotification deprecation

In my app, I want to be able to check if the user has notifications enabled or not. In iOS 10, …

ios cocoa-touch usernotifications
APNS rejects notification with reason "DeviceTokenNotForTopic"

I'm receiving this error only when trying to register for remote notifications using UserNotifications framework. When using PushKit everything works …

ios objective-c apple-push-notifications pushkit usernotifications
How to handle UserNotifications Actions in iOS 10

So I am able to schedule notifications like so; //iOS 10 Notification if #available(iOS 10.0, *) { var displayDate: String { let dateFormatter = DateFormatter() …

ios swift usernotifications usernotificationsui
UNUserNotificationCenterDelegate methods not being called Xcode 8 iOS 10

I have followed all the steps exactly as mentioned here: Push notification issue with iOS 10. But unfortunately, these two methods …

ios objective-c apple-push-notifications push usernotifications