I'm working with my iBeacon iOS app. I started coding with Xcode 5.1. Ath that time every delegates get called. But while I updated my Xcode to 6.0.1 to support the app in iOS 8, the following delegate method is not getting called (tested in device):
-(void) locationManager:(CLLocationManager*)manager
didExitRegion:(CLRegion*)region
It is workinng perfectly in iOS 7. Can anyone please suggest me any possible solution for me? Thanks in advance.
Kepp this with your locationmanager instance
self.locationManager = [[CLLocationManager alloc] init];
// New iOS 8 request for Always Authorization, required for iBeacons to work!
if([self.locationManager respondsToSelector:@selector(requestAlwaysAuthorization)]) {
[self.locationManager requestAlwaysAuthorization];
}
and keep your app background refreshing ON. I am running this in iOS 8 and it is working like a charm.
For more help you can read this article iBeacon http://ibeaconmodules.us/blogs/news/14279747-tutorial-ibeacon-app-development-with-corelocation-on-apple-ios-7-8