Estimote / iOS-Fleet-Management-SDK

Estimote Fleet Management SDK for iOS
https://developer.estimote.com
MIT License
1.18k stars 398 forks source link

notifyOnEntry=NO,notifyOnExit=NO,but delegate is being called #248

Closed LeonZLW closed 4 years ago

LeonZLW commented 7 years ago

show my code:

self.beaconRegion = [[CLBeaconRegion alloc]initWithProximityUUID:UUID identifier:@"com.datuhongan.mzm"];
    self.beaconRegion.notifyOnEntry = NO;
    self.beaconRegion.notifyOnExit = NO;
    self.beaconRegion.notifyEntryStateOnDisplay = YES;
    [self.locationManager startMonitoringForRegion:self.beaconRegion];

I have already set notifyOnEntry and notifyOnExit value is NO, but delegate's methods: locationManager:didEnterRegion: and locationManager:didExitRegion: is being called when I entry the region and exits the region ,I don't know what the role of notifyOnEntry and notifyOnExit?