ios - Handling Push Notifications when App is Terminated -


when app not running , receives push notification, if click on notification, app launched - doesn't prompt user alert-view set up, asking them whether want view notification's contents or not. launches, , sits there.

the push notifications work when app running - either active app or while in background - nothing works correctly when app not running.

i tried logging-out launchoptions nsdictionary in application: didfinishlaunchingwithoptions: see load bringing - comes "(null)". contains nothing - doesn't make sense cause shouldn't contain notification's load?

anybody have ideas how make push notifications work when arrive while app not running?

i mean how handle push notifications when app in not running state. if, if receive many notifications & did not open app, neither did tap system's notification panel. how preserving push later retrieval.

as per question, there no way hold notification when open app, better call api notification per time stamp end/server that's how facebook does.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -