Proper way to handle location update in foreground & background on iOS