ios9 - How do you distinguish between an iOS app entering background via the press of lock button vs otherwise? -


in app want show playing info on lockscreen, if app still main 1 when lock screen button pressed. don't want show info if app backgrounded through switching app or via press of home button.

either case triggers resign active , did enter background, how distinguish between ios app entering background via press of lock screen vs otherwise?


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -