title: Adding background mode on Capabilities tabs
body: <p>I am using Xcode 6.3 and I just added bluetooth background mode on the capability tab:</p>
  
  <p><img src="https://i.stack.imgur.com/wCoDn.png" alt="enter image description here"> </p>
  
  <p>There is a step required that says "Add the 'Required Background Modes" keys to your info.plist file.</p>
  
  <p>However apple <a href="https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html" rel="nofollow noreferrer">documentation</a> says that this is added automatically (see below) and if I check my info.plist file I find the following:</p>
  
  <blockquote>
    <p>Declaring Your App’s Supported Background Tasks Support for some types
    of background execution must be declared in advance by the app that
    uses them. In Xcode 5 and later, you declare the background modes your
    app supports from the Capabilities tab of your project settings.
    Enabling the Background Modes option adds the UIBackgroundModes key to
    your app’s Info.plist file. Selecting one or more checkboxes adds the
    corresponding background mode values to that key. Table 3-1 lists the
    background modes you can specify and the values that Xcode assigns to
    the UIBackgroundModes key in your app’s Info.plist file.</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/3Rljm.png" alt="enter image description here"></p>
  
  <p><strong>Is this enough?</strong></p>
  
  <p>How can I test if it works correctly?</p>