In my application I need to search the nearest beacons and detect their mac addresses to calculate the user exact location in the building. The question is that can we detect the closest beacon mac address from the iOS application without the beacon's UUID, major and minor values?
Think about it: If you don't know the UUID of the beacon, how would you know it's location? A beacon doesn't know where it is. Someone must have physically put the beacons in their places, must have written down their locations, and must have made that location available to your app. In that case you would assume that they also wrote down the UUIDs.
Apple's idea is that you can't (easily) write an app that just finds any beacon. The beacons must be related to your app, otherwise they are none of your business. Let's say you write an app for a supermarket which uses the same UUID for all beacons. The app is supposed to ignore all other UUIDs.