Questions tagged [unusernotification]
28 questions
1
vote
1 answer
Responding to UNUserNotificationAction
I'm trying to implement the new iOS 10 notification. I added an UNUserNotificationAction to the content and registered the AppDelegate as the delegate. This is working perfectly. When the user taps the action the app should open and then go to the…

heikomania
- 445
- 6
- 13
0
votes
1 answer
Objective-C NSRunLoop & NotificationCenterDelegate not functional when spawned on Rust worker thread
I'm currently trying to use Rust C interop in order to send actional desktop notifications (using a modified version of this lib). The main goal here would be to handle these notification sending events on separate threads like…
user9773080
0
votes
0 answers
UNNotificationRequest only triggers once after device reboot
Local Notification only triggers once after device reboot. when i close and reopen the app it won't trigger even though i see it enters the function send() every time i run the app.
i have the trigger set to nil so it will trigger Imm . any ideas…

ozk
- 1
- 2
0
votes
0 answers
getting a didReceiveResponse connection error
So my goal is to fix the didReceiveResponse method in my code and be able to print the print statement when the action is tapped on in the notification.
So I have the method in my DashboardVC file in an extension:
extension DashboardVC:…

dante
- 105
- 11
0
votes
1 answer
Setting multiple UNUserNotification firing only the last notification
EDIT: I am setting exactly 365 local notifications UNUserNotification (one for each day a year). Button is calling at one time:
[self name1];
[self name2];
...
[self name365];
one name for every day. If I try only eg. 3 days, it works perfectly.…

Jiri Svec
- 147
- 1
- 1
- 12
0
votes
1 answer
Daily local notification worked for one day and than stopped [Swift]
I wrote a code for a daily local notification on my app that will be sent every day at 1:00 pm (13:00).
The day I wrote it, the code worked fine and the notification sent exactly at 1:00 pm.
For an unknown reason it worked great only than but now it…

yoavsc
- 25
- 6
0
votes
2 answers
How to send local notification UNTimeInterval starting at specific time in swift [iOS]
I want to send a local notification every 8 hours starting at specific time.
For example, now we are at 10 o'clock in the morning, but I want you to notify me every 8h starting at 12 o'clock, how I can do that.
I have this code:
let content:…

Arnau
- 1
0
votes
0 answers
Swift/Xcode: How to make Firebase observer functions action while app is in background?
WORKING IN SWIFT/XCODE
I have a messaging app with observers connected to Firebase. When a new messages comes into Firebase, I want the app to send a local push notification to the iPhone.
Currently, when a new message comes in and the app is in…

nicksarno
- 3,850
- 1
- 13
- 33
0
votes
2 answers
migrating from UILocalNotification to UNUserNotification swift
I'm migrating to NUUserNotification but I'm having problems as I'm learning notifications with the newer framework and I don't know the older. I hope this is not some duplicate as I read a lot of posts and tutorial to how to migrate but haven't…

Vincenzo
- 5,304
- 5
- 38
- 96
0
votes
1 answer
How to schedule a notification that will repeat with some frequency after specific time passes
I don't see support for scheduling such kind of notification i.e. that repeats only when a specific time passes. The problem is that the schedule fires immediately without waiting for the exact time although repeats correctly.
e.g. here is the code…

Muhammad Ibrahim
- 1,923
- 2
- 15
- 13
0
votes
1 answer
How To Use Apple's Notification Sounds for User Notifications Swift
I am wondering if it is possible to have one of Apple's notification sounds on a user notification instead of always using UNNotificationSound.default() for sounds or have the user be able to go into settings a pick a sound of choice.

Nathan Lorenz
- 153
- 1
- 11
0
votes
2 answers
How to receive scheduled notification (Local Notification) from iphone to apple watch
I would like to know that whether we can receive scheduled local notification from iphone device and we can receive that notification on Apple watch. I also want to update the status in my local database from that notification.
Note:
The app is…

Nauman Saleem
- 116
- 8
0
votes
1 answer
Triggering all pending notifications before the time set for it
In the app I'm developing, there is an option for triggering notification x amount of time before the actual time set for the said notification. For example I set the reminder for 10:00. But in the app's local settings, I set the notification to…

Parthib Biswas
- 471
- 1
- 7
- 17