title: Location Services still running after app is killed
body: <p>I am seeing an issue with Location Services still being used by my app even if the app has been killed from the multitasking bar. If I go into <code>Settings &gt; Privacy &gt; Location Services</code> I notice that my app has a purple location icon even while there are NO apps in the background. If I turn off Location Services for my app, the icon in the status bar disappears.</p>
  
  <p>I have ensured in my app that I am stopping location services when they are not needed. I have verified this numerous times in Instruments. GPS turns on when it is supposed to and when the task is finished using location services, the GPS is turned off.</p>
  
  <p>In my <code>applicationWillTerminate:</code> delegate, I even set the <code>lcoationManager</code> to <strong><code>nil</code></strong>, set the delegate to <strong><code>nil</code></strong> and make sure all of that is cleaned up. I still see the icon in the statusbar when I KILL my app.</p>
  
  <p>This particular app also has a bluetooth accessory that can make the app do certain things. So for instance, I press a button on my BLE accessory and it makes the app do something which will trigger a <code>UILocalNotification</code>, so I see a banner. I don't know how to reproduce this particular issue, but I've noticed that even if there are NO apps in the multitask bar and I press the button on my BLE accessory, it will trigger the action in the app and I will see the notification banner. </p>
  
  <h2>A few questions:</h2>
  
  <ol>
  <li>Has anyone else seen anything like this?</li>
  <li>How can I ensure that my app is COMPLETELY killed even though I have cleaned up really good on application terminated?</li>
  <li>Why would the location services still be running even though the app is killed. Also keeping in mind that I do NOT use any region monitoring or significant location update changes.</li>
  </ol>
  
  <h2>Update:</h2>
  
  <p>So I took a previous version of the app and reset Location &amp; Privacy settings and to my surprise, backgrounding the app makes the location icon disappear (as it should have been doing all along. To me this means that iOS is keeping some residual information or settings from the app? Anyone have any insight as to what could be going on here?</p>
  
  <h2>Update 2:</h2>
  
  <p>Still occurs in iOS 8.1.x.</p>