ios - Do I have enough time to perform a Server update when my App is started from Background mode? -


i failing find documentation on this. if application able use background location services, how processing can before device stops task using resource?

e.g. when location changes, ping server new location.

regards:

john

if app has permission of getting location updates in background, not limited on performing tasks, run code, app allowed execute code while suspended (this used apps providing navigation). however, aware, apple not approve app, background location updates permission, unless it's app justify requirement (sports tracking app, navigation app, etc)

you can location updates region monitoring or significant location changes, without having use location updates background mode.

so comes tricky part. have enough time perform server update of users location when app started background mode region monitoring or significant location services ?

the answer, seems yes, as suggested article

i haven't tried this, judging code, don't find reason why shouldn't work!


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -