ios - Keep an app active in the background? -
i have volume control app in ios store, 1 problem users have device kicks memory control. there way either force stay active (by permission) or @ least alert user when no longer active or in danger?
all answers under background execution in ios developer library.
of course, here's philosophy:
always try avoid doing background work unless doing improves overall user experience.
see table 3-1 types of background execution. there's category audio requires audio played app. not sound app fits in here. you'll want @ notifying user.
you send notification user when app falls background applicationdidenterbackground()
, or before quits applicationwillterminate()
, supposedly time-permitting.
Comments
Post a Comment