forked from organicmaps/organicmaps
[ios] Removed not actual code
This commit is contained in:
parent
b2f49c86c5
commit
636decf28c
1 changed files with 1 additions and 5 deletions
|
@ -41,11 +41,7 @@
|
|||
//YES if location services are enabled; NO if they are not.
|
||||
if ([CLLocationManager locationServicesEnabled])
|
||||
{
|
||||
CLAuthorizationStatus authStatus = kCLAuthorizationStatusNotDetermined;
|
||||
// authorizationStatus method is implemented in iOS >= 4.2
|
||||
if ([CLLocationManager respondsToSelector:@selector(authorizationStatus)])
|
||||
authStatus = [CLLocationManager authorizationStatus];
|
||||
|
||||
CLAuthorizationStatus const authStatus = [CLLocationManager authorizationStatus];
|
||||
switch (authStatus)
|
||||
{
|
||||
case kCLAuthorizationStatusAuthorized:
|
||||
|
|
Loading…
Add table
Reference in a new issue