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 -

ruby - Prevent Custom Validation Error on Association -

c++ - Why am i getting wrong values when performing PE base relocation? -