Discover only UUID with IOS SDK and Proximity Beacon

I’m trying to discover only the UUID with IOS SDK and Proximity Beacon. On Android this is possible with null values for Major and Minor. But on IOS, using nil doesn’t work. Is there a way to just search for a particular UUID on IOS?

On iOS, that’s not possible—the iBeacon API from Apple requires at least the UUID.

That’s what I’m trying to do. I want to look just for UUID.

So I want to find our UUID but I don’t want to search for the major, minor.

Just replying again: That’s what I’m trying to do. I want to look just for UUID. So to be clear, I am going to use a UUID.

But I don’t want to search for the major, minor.

Not sure I understand. Does this not work for you?

let beaconRegion = CLBeaconRegion(
        proximityUUID: UUID(uuidString: "B9407F30-F5F8-466E-AFF9-25556B57FE6D")!,
        identifier: "all beacons with UUID B9407…")
self.beaconManager.startRangingBeacons(in: beaconRegion)