Solved

How to check if users gave iPhone app GPS permission?

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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:   …
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 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