ios - Cancelling local notification on specified date -
i have problem inventing posible solution problem.
my app needs crate objects of uilocalnotification interval if set interval nsminutecalendarunit if bother me every minute until cancel notification in uiapplication or crash phone hammer...
but i'm setting in app end date project , want notification work specified date. told me check when app launches (not problem what if set notification fired every minute , won't close app during time?). need independent , want know how this.. ideas?
you check if need cancel local notification in receiving 1 when app running , on start of app.
when app running in foreground , local notification fired app application:didreceivelocalnotification: called on app delegate.
there not end date local notifications way can cancel app when running.
Comments
Post a Comment