ios - didRangeBeacon called without any beacons found -


I am registering my own Location Manager for the monitoring and range of some beacons:

  [Self .locationManager startsmonitoringForreagian: region]; [Self.locationManager startup beacons setting: area];  

I understand, when one or more beacons are found, then it is called representative method:

  - (zero) location manager: (CLLocationManager *) The manager did the Tharac Beacons: (NSERRE *) Region in Beacon: (CLBEKONERGREEN *) Area  

This representative method is actually called when I turned on my beacon, but beacon array is empty Is there any reason why my beacons are not listed in that array?

There is a screenshot here to explain this situation:

 Enter the image details


Keep in mind the other things:

  • I used to transmit my beacon signal. I will try to use a real beacon later, but MacBeCon is working fine for me in iOS 7.
  • I tried to be late until I called didErterRegion: or didDetermineState: , but it's still the same thing The result is.
  • I have requested location permission from my location manager: [self.locationManager requestWhenInUseAuthorization]; .
  • I have a very similar code that has been compiled in Xcode 5 / iOS 7 SDK. Is it a specific Xcode 6 / IOS 8 behavior?
  • I have added the NSLocationWhenInUseUsageDescription key to my code.
  • is to turn it on because I created CLBeaconRegion while unique I'm not using the identifier.

    Special thanks to help me solve this.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -