Questions tagged [unnotificationtrigger]

37 questions
0
votes
1 answer

Always trigger a notification by matching the current time to that in array in objective c ios

Hello guys I am new to objective c, I am trying to trigger a notification when the current time matches the time of an array named newarr i have added times in this array. I want the notifications should be triggered automatically based on the times…
iOS Developer
  • 311
  • 4
  • 25
0
votes
2 answers

UNNotification not working under iOS 10.3.3

I have searched a lot to try to find a specific solution to this problem. I have an app that uses the former UILocalNotification system to send local notifications, and this still works fine under iOS 10.3.3. However, I have tried to convert this…
Nelson Capes
  • 411
  • 3
  • 12
0
votes
0 answers

What is best iOS GPS (CLLocationManager) battery saving technique

Ive written a GPS app for iOS 10 a while back. Ive gotten it to the point where its stable and working as expected and now I want to go after battery saving techniques. The app sends GPS locations every 5 minutes right now but I could be flexible…
Tim
  • 647
  • 1
  • 10
  • 21
0
votes
1 answer

Daily local notification on iOS

I need to make a local notification that alert the user daily at 19:30. Here is what i did: var dateComponents = DateComponents() dateComponents.hour = 19 dateComponents.minute = 30 let trigger =…
user6539552
  • 1,331
  • 2
  • 19
  • 39
0
votes
0 answers

How to send local usernotifications based on user input

How am I able to send user notifications in iOS 10 using UNNotifications on a specific day and repeat it? The user has the option to select a few days when he wants to receive the notifications: If the user selects for example: Tuesday, Thursday,…
user5000215
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…
-1
votes
3 answers

Trigger local notifications automatically daily on dynamic time given in arrays Objective c ios

I have an array of hours hoursArray and array of minutes minutesArray and I am getting the current date from the system now I have the arrays who have the elements of the current month it means if there are 30 days in April there will be 30…
iOS Developer
  • 311
  • 4
  • 25
1 2
3