- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {
The specific function is called when the app is in foreground. How can i show a local notification when the app is in background? I press the home button and then i want to show an uialertview to the user…is this possible?
Any help appreciated
if app isn’t running in the foreground..then the notification is shown as a ALert View by default..