Don’t know if this is the right place to ask this, but I will take my chances.
There is an iOS game called Bug Village that will from time to time automatically pops up an alert about the character in that game needed feeding…. etc. even though the game was not currently active.
Question: What technique or how is it done?
I don’t know what you’re talking about exactly but outside the app, it must be
UILocalNotification.