One of the many new features coming to iOS 7 that barely got a mention at WWDC is iBeacons. iBeacons is Apple's name for Bluetooth Low Energy (also known as Bluetooth Smart), which allows iOS devices to know where they are on a micro location level.
Currently iOS devices know where they are based on Wi-Fi triangulation or built-in GPS, each of which is an approximation and only accurate to within a few meters. This is good when you're looking for an address, however it's not useful when you're looking for a store in a mall. iBeacons aims to change that by allowing the iPhone to talk to Bluetooth Low Energy locators located inside buildings.