I am building an app that tracks a users location while the app is open and query it with geofire. I would like to keep the location updating from any view controller the user may have open. I am wondering how to do this.
Currently, I have my geofire and location tracking set up in my main view controller. In order to have the location tracking working across all view controllers, do I have to code each individual view controller to track the location, or can I place the code into, for example, the app delegate file?