OSLocation.h

Includes:
<Foundation/Foundation.h>

Introduction

Use the links in the table of contents to the left to access the documentation.



Methods

+locationServiceEnabled

Return the state of the authorization status of the location service for the app.


locationServiceEnabled


Return the state of the authorization status of the location service for the app.

+ (BOOL)locationServiceEnabled;  
Return Value

YES if the app has auth, NO otherwise.

Discussion

This method blocks the execution if the user has not decided yet if th app has authorization for use the location services of the phone.