title: Problems using CoreLocation and iBeacons
body: <p>I want to build an app with indoor localization (I know Bluetooth is not that precise, but rough values are enough at first).
  My problem is, that I am only able to range the beacons I placed in the room for 10 seconds after turning Bluetooth off and on. The strange thing is, that turning Bluetooth off and on resolves the problem (again for 10 seconds).</p>
  
  <p>Here's the code snippet of my simple test app:</p>
  
  <pre><code>-(void)locationManager:(CLLocationManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region
  {
     BOOL beaconFound = NO;
     for(CLBeacon *beacon in beacons)
     {
         if(beacon.proximity == CLProximityNear)
         {
             _textView.text = @"A Beacon is Near!";
             beaconFound = YES;
         }
     }
     if(!beaconFound)
         _textView.text = @"No Beacon is Near";
  }
  </code></pre>
  
  <p>Is it some kind of energy saving on iOS? I don't have any other explanation for this, but it seems that no one else has this problem.
  I also tried ranging a simulated iBeacon on an iPad but got the same results.</p>
  
  <p>I want to be able, to range the beacons constantly, am I doing something wrong? </p>
  
  <p>Thanks in advance</p>