I want to set repeat interval to the value which user selects from date picker.I have date picker of type countdown mode in my application.If user selects 4 hours 15 minutes
We cannot set custom Value for repeatInterval
in the UILocalNotification
.
The simplest way you can achieve this by creating a new localNotification
every 4.25 hours and copy the notification details of the the the existing one and delete it while handling the local notification.
Other way is to change the firedate
while handling the local notification.