cocoa touch - Display interactive local push notifications on lock screen iOS -
i have configured local push notification category 2 actions. push notifications run fine, , handling these notifications in application:(uiapplication *)application handleactionwithidentifier:(nsstring *)identifier
method inside appdelegate.
my question how can go only displaying such notifications on user's lock screen? assumptions willresigninactive
method app can still run after user locks device, while @ least. way fire notification after user locks device custom actions usable lock screen.
any appreciated.
i don't think have access specific event out of app jurisdiction thats why there applicationdidbecomeactive
, applicationwillterminate
etc. borders, can time after 10 mins , hope locked phone? or more accurate can check if did put phone down, check answer:
Comments
Post a Comment