Solved

How to check if users gave iPhone app GPS permission?

Posted on 2010-11-08
1
1,111 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface   In the first 100 days of the Macintosh release in January 1984, Apple sold 72,000 of the computers. Relatively cheap, easy-to-use personal computer with a graphical operating system. I've never seen this model. I did see this one:   …
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.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

11 Experts available now in Live!

Get 1:1 Help Now