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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -