0

I am working on iBeacons. Trying to find out all beacons around me.

Like Android, in iOS, we cannot achieve this without specifing "UUID" while searching. By using UUID, it is working fine.

is there any better solution to search all beacons around you, without specifying UUID?

I found one solution RNLBeaconScanner, which is in objective c. RNLBeaconScanner detecting beacons in ObjC but same beacons not detecting in swift.

Thanks in advance!

Ruchira More
  • 261
  • 1
  • 16

1 Answers1

2

TLDR; You can't.

Longer answer: If you specifically are working with iBeacons, you NEED to know their UUIDs, to pass a valid CLBeaconIdentityConstraint to startRangingBeacons method of CLLocationManager.

Core Bluetooth, which can be used for general BLE scanning, unfortunately cannot be used to detect iBeacons, because, well, apple doesn't want you to.

Swapnil Luktuke
  • 10,385
  • 2
  • 35
  • 58