Solved

How to check if users gave iPhone app GPS permission?

Posted on 2010-11-08
1
1,110 Views
Last Modified: 2012-05-10
I'm developing a location based app, but Apple reject my app because if the user does not give the app access to the GPS the app goes into a look and does not give any error to the user.

How can I check if the user gave the app permission to access their location?

Thank you,
0
Comment
Question by:Medrise
1 Comment
 
LVL 5

Accepted Solution

by:
mad_mac earned 500 total points
ID: 34092009
Your CLLocationManagerDelegate will receive locationManager:didFailWithError and the NSError object will contain the error code kCLErrorDenied.

0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
App Wireframing on iPhone 13 667
iphone app 5 423
iPhone Filesystem or CLI access 3 626
Why Is This Taking So Long To Load 2 96
CocoaPods is the best way to manage library dependencies in iOS and OS X projects. By using cocoa pods there is no need of downloading the code from github and copying to your project. There are plenty of open source libraries now available with C…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now