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 8918879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:51:45+00:00 2026-06-15T05:51:45+00:00

In android there’s the method getLastKnownLocation() , it gets the last fetched updated location

  • 0

In android there’s the method getLastKnownLocation(), it gets the last fetched updated location on the device.

The essential point is that this location does not even need to be fetched from your application.

I need to do the same thing in IOS, so i need the last fetched location from device, even if it wasn’t from my application (because the location i need doesn’t need at all to be precise)

Thank you.

  • 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-06-15T05:51:46+00:00Added an answer on June 15, 2026 at 5:51 am

    I’m solving doing as follow:

    I create a class GpsManager like:

    @interface GpsManager : NSObject <CLLocationManagerDelegate>
    @property (nonatomic, retain) CLLocationManager *locationManager;
    @property (nonatomic, retain) CLLocation *location;
    +(GpsManager*) getShared;
    @end
    

    and I start it on appdelegate, this class will save the location and you can use it, it isn’t util like the getLastKnownLocation() of android but hope a little.

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

Sidebar

Related Questions

develop android apps that should support iphone,ipad,android.is there any way for developing this kind
In android there is a mechanism of ensuring that only one instance of a
I know this is the list of permissions in android Is there any new
I know that on Android there is android.database.sqlite package that provides helpful classes to
I want to record calls in iPhone.In android there are listeners for that by
For my Android application there is a timer that measures how much time has
So my question is the title: Android is there a method similar to onListClickView
In my android application there is a number of operations that the user can
In android,Is there any differences between the following code? new Intent(this, MyOtherActivity.class); new Intent(Context.this,
For a program that I have written myself, is there a method of accessing

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.