add ios8 geolocation condition by Sean request