How to get background location.

I am unaware of how to get location data in the background/while the app is closed. I do know how to use when in use description, and when i try changing everything in my code and plist to "always in use" the app doesn't work with the location data.

How to get background location.
 
 
Q