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

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -