Is there a (App Store approved) way to detect the UUIDs of all nearby iBeacons?

Hey guys! I found out that the custom iBeacon functionality is to detect iBeacons with the same UUID. I've looked around and found a way to detect other UUIDs (that are not pre-registered), but I'm not sure if this method will be approved by Apple.

The main functionality of my app is to detect and record on Device A every time another device is in its proximity.

Here are my two questions:

  1. Would the linked workaround be approved by Apple?
  2. If you know other APIs/functionalities that can achieve this functionality, please let me know! I'm a little desperate right now.


Thank you for your help and be safe,

Sam S.