startMonitoringForRegion is not calling didEnterRegion if the app is started within the region

cllocationmanager, geofencing, ios

Solution

I don't think you can do that.

But, you can get the current location and check if it's inside the region you're specifying yourself. `CLCircularRegion` has a `containsCoordinate:` method for this.

Problem

I'm having an issue where my app will not fire the didEnterRegion event if I start the app within the region. If I start the app outside the region and then enter the region, it fires. If I start the app inside the region, then leave the region, then re-enter the region, it fires. Any suggestions on how to get it to fire as soon as the app is opened if it's in the region would be much appreciated!

Original source