Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6180087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:47:05+00:00 2026-05-24T00:47:05+00:00

I want to make application that will use GPS, as we know at first

  • 0

I want to make application that will use GPS, as we know at first time user use our application that need gps/current location, there is a pop up that asking for permission, the problem is.. example:

the user choose not allow, and then how can we know the user make our application can’t access to her/his gps to know his/her location? because my application need CurrentLocation, so if I can detect what user choose, I want to make a Pop Up like first Pop Up that asking for permission again.

or any code that can make gps turn on/off by my application?

Imagine if the user does not allow by mistake? Is there away for my application to reask the user?

What should application like Yelp do when location is not available?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:47:07+00:00Added an answer on May 24, 2026 at 12:47 am

    As of iOS 4.2, the class on which you’re implementing CLLocationManagerDelegate’s methods (like -locationManager:didUpdateToLocation:fromLocation:) should also implement -locationManager:didChangeAuthorizationStatus:. There are four statuses that that method will receive; to check for your app being unable to use location services, look for kCLAuthorizationStatusRestricted—when the user is unable to allow access to location services—and kCLAuthorizationStatusDenied—when the user has explicitly refused your application access to location services. In both cases, the appropriate thing to do is to inform the user (via an alert view or whatever) that your application relies on being able to access their location and that they may be able to re-grant it that access in the Settings app. You can also check your app’s authorization status at any time using the CLLocationManager class method +authorizationStatus.

    Pre-4.2, unfortunately, none of that is available, and you’ll need to use the +locationServicesEnabled method that sosbom’s answer mentions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make an application that will need userLocation, but MkMapView.userLocation is just
I want to make an application that would display a message when a user
I just want to know that can i make an application which have some
I want to make an application that will grab the HTML from a website
I need to make portable application, that will run on Windows, Linux, MacOS and
I am going to make an application (iOS and Android) that will use a
I want to make a little application. That will have register, save, update, delete,
I am working on a web application that will make extensive use of AJAX
I want to make an Application that uses RxTx version 2.2pre2 to work with
I want to make an application that shows a frame by frame animation when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.