title: Programmatically change Required background modes
body: <p>I have an app that need Location Based Services in the background.
  So in info.plist I setrRequired background modes to "App registers for location updates".
  and everything works fine.</p>
  
  <p>My question is, how can I disable it running in background?
  Is it possible to add an option and let users set it on/off?</p>
  
  <p>As I know info.plist can not be change programmatically
  so how can I do this?</p>