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 - Autoloader issue not returning Class -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

C++ Program To Find Smallest and Largest Number In Array -