Is it possible to show NSLocalNotification when the app is running and in the foremost position? As the Apple document says when the app is in the foremost position the notification will not be shown (it shows in notification center though, just doesn’t have the flipping animation on top), then what’s the point for method presentLocalNotificationNow: ?
Is it possible to show NSLocalNotification when the app is running and in the
Share
You have to use your own UI to present notifications when your app is active. Use UIApplicationDelegate’s application:didReceiveLocalNotification: method to find out when a notification is posted.