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

sql - VB.NET Operand type clash: date is incompatible with int error -

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

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -