title: iOS - How to set allowsBackgroundLocationUpdates to YES?
body: <p>Maybe this a silly question but I genuinely can't find an answer to this anywhere. I want to let my iOS app send location updates to web server when it is in the background. Currently it doesn't work and I know the reason is because allowsBackgroundLocationUpdates is set to NO by default. 
  My question is where can/should I set allowsBackgroundLocationUpdates to YES?</p>
  
  <p>Edit: Let me add that I have already modified my Info.plist to include: Required background modes - App registers for location updates</p>