I have an app that depends on both a network connection and location services in order to be used. Upon launching the app, I would like to check if the user has both of these abilities
- Network Connection Available
- Location Services Enabled
How would I script this so that if the user's device does not meet both these criteria, the user is prevented from continuing and is presented with an alert that says they must have these two things to proceed.
I would assume that this goes somewhere in the Application Delegate. Any recommendations would be great! Thank you all!