I used ibeacon monitoring in background before version ios 15.
Used this code
if let uuid = UUID(uuidString: "1345bbaa-0000-0000-0000-00000000bbbb") {
let region = CLBeaconRegion(
proximityUUID: uuid,
identifier: "1345bbaa-0000-0000-0000-00000000bbbb")
region.notifyEntryStateOnDisplay = true
region.notifyOnExit = true
region.notifyOnEntry = true
beaconRegions.append(region)
locationManager?.startMonitoring(for: region)
}
It doesn't work in this update.
In short, not called func
func locationManager(_ manager: CLLocationManager, didDetermineState state: CLRegionState, for region: CLRegion)
Do you know anything about these issues?
What should I do?