Hi I have an issue when there is no gps enabled an message is shown, then you go to settings and activate the gps (Location Services: On) and go back to the app and it doesn’t refreshes?
How can I detect that event and refresh the page?
Hi I have an issue when there is no gps enabled an message is
Share
You are most likely looking for the
- (void)applicationWillEnterForeground:(UIApplication *)applicationmethod of your app delegate.Implement this method, and add your code that checks for GPS availability. The method will be called whenever your application is brought from background (inactive) to the foreground (active). It is not called when the application initially launched.