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
Post a Comment