When you walk into the ibeacon region, it shows the ad belongs to that particular region. written in Swift, using Core Location, target iOS8