I have to do an app that I need accelerometer values, but in iOS app , when it goes in background I can't update this accelerometer values. For this reason,I heard about a system that app wakes from background(it doesn't go in foreground but it can execute code) by 3G/4G/LTE location and OS gives to app 4/5 seconds for execute code(in this case I can update accelerometer values).
I'm new in this situation and I ask to you for you give me an help about it.
Thank you so much for your time