It can work in a limited fashion using iBeacons. These have special status on iPhones allowing them to be received by an app even in the background. But even these are rate limited and each iBeacon can only wake up the app once when it comes into range.