Monday 15 April 2013

ios - UILocalNotification random strings -


I am creating UILLocal notifications in my app, I have to display different strings to pass the notification every time. The problem is that for the first time this random string gets annoyed after it shows every string. How will each random string display from any 5-6 list of stars? There is only one solution - schedule multiple notifications with different (random) strings.

Obviously, you will not be able to use repetition, so you will only be able to plan for a limited future time (64 notification limit). Generally this is not a big issue, if you open the app every time and the last notification is something like "You have not visited MY_APPLICATION for a while, you will not receive any more notifications".

No comments:

Post a Comment