Questions tagged [unnotificationrequest]

A UNNotificationRequest is a new Cocoa Touch notification object introduced with iOS 10.

UNNotificationRequest is a replacement for UILocalNotification. Use this tag only for questions related to UNNotificationRequest from the UserNotifications module.

UNNotificationRequest class reference`

112 questions
0
votes
1 answer

Local notification UNTimeIntervalNotificationTrigger triggerWithTimeInterval fires every 1 minutes how to stops

I am using local notifications in my app to alert urgent messages to the user. What happens is the user receives a push notification, then a local notification is created and fired 60 seconds later with a time interval of 60 seconds. This works…
Sankalap Yaduraj Singh
  • 1,167
  • 2
  • 14
  • 32
0
votes
1 answer

While switching to UNNotification, no notification shows up anymore

I recently switched to UNNotification and came up with this upgraded code: let content = UNMutableNotificationContent() content.title = " \(story.title)" content.userInfo = ["Story.link": story.link, "Story.type": "HotNews"] let…
Stéphane de Luca
  • 12,745
  • 9
  • 57
  • 95
0
votes
1 answer

Schedule notification to execute every day starting next week

My original problem: When a user is setting an alarm for 19:00, I would like to show a reminder at: 19:03 19:09 19:12 In case he did not interact with the notification. (The app should be able to run offline, so there is no way of using push…
0
votes
1 answer

Test UNNotificationSettings

The result of the test is always 0, as the code after the getNotificationSettingsWithCompletionHandler: block is executed before notificationsAlertAuthorization value is set in the block. How do I solve this problem? in AppDelegate.h: -…
KaasCoder
  • 251
  • 5
  • 14
0
votes
1 answer

Local notification in ios app

I have requirement to send more than 300 local notification. Is there any limit to send local notifications in above iOS 8.0? If you find document regarding this please share. Thanks all
user1624741
-1
votes
1 answer

iOS - Repeat notification every 72 hours

I want to get notification when app is terminated to notify users that you need to keep app running to get app updates. I also want to repeat notifications every 72 hours if app is not running. For now, I have implemented local notification however,…
-2
votes
1 answer

"getDeliveredNotificationsWithCompletionHandler" gives notification tray count zero : iOS12.1

Follow below steps Open the app Lock the iPad using the lock button Then send the notification from backend-- device receives notification in the notification tray Then unlock the iPad using the lock button The app is still open since we have not…
1 2 3 4 5 6 7
8