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

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

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

arrays - Algorithm to find ideal starting spot in a circle -