iphone - local notification handling -
i trying crack way local notification work.
i wrote line in order present notification scheduled:
- (void)application:(uiapplication *)application didreceivelocalnotification:(uilocalnotification *)notification{ [[uiapplication sharedapplication] presentlocalnotificationnow:notification]; }
the issue runs endless number of times.
if write else runs 1 time, understood line should pop message of notification.
can shed light?
thanks,
presentlocalnotificationnow
triggering didreceivelocalnotification
in turn calling presentlocalnotificationnow
... end endless loop.
Comments
Post a Comment