Hi All,
Im working on a iBeacon concept where in i detect the beacons and perfom action based on its detection. My code was working till iOS 8.
When i try to check the same on the iOS 9 device is not detecting the iBeacons.
I also set the
self.locationManager = locationManager;
if([self.locationManager respondsToSelector:@selector(allowsBackgroundLocationUpdates)]){
[self.locationManager setAllowsBackgroundLocationUpdates:YES];
}
When i inititlize the locationManager Class.
And also set my capabalities to Location updates and uses Bluetooth LE Accessories. As this is the iBeacon concept which uses both location and Bluetooth.
I create a CLBeaconRegion and ill add a beacon region to which it has to range.
And then [_locationManager requestStateForRegion:beaconRegion] ill be calling this to determine the state of the Beacon, Which calls the
CLLocationManagerDelegates .
But it always calles me the monitoringDidFailForRegion delegate method always.
That means it is not determing the state of the beacon and even though i have a valid region object it not ranging for a proper beacon.
May i know what im missing inorder to make my code to work in iOS 9 as well
Thanks,