I have a big problem. With iOS 7.1, it's possible to monitor the enter/exit of a beacon region even if the app is closed (not in background, but completely closed).
But I notice that this is possible only if the beacon delegates are in the main controller, and not if they are in other controllers (for example called in modal way).
My app for example is built with:
appDelegate --> firstController --> secondController
If I put the beaconManager and its delegates in the firstController, they will be called also with the app closed, while if I do the same in the second controller (presented as modal viewController) they are not called (they work only in foreground or in background).
How is it possible to fix this problem?