I've defined this subclass of CLLocation
MyLocation.h
@interface MyLocation: CLLocation {
NSString *datum;
NSString *ellipsoid;
}
@property(nonatomic,retain) NSString *ellipsoid;
@property(nonatomic,retain) NSString *datum;
MyLocation.m
@synthesize datum,ellipsoid;
Now i get a CLLocation instance through the location mana...
I've been working to iron out memory leaks in my program and I'm down to a few stragglers. The strange thing is that they're coming from when I use CoreLocation to get a gps location. The code is properly returning the location, but it's leaking all over the place: CFHTTPMessage, CFURLConnection, CFURLRequest, CFURLResponse, GeneralBloc...
I need to calculate the distance (in meters and miles) between two coordinates given
How can I do that?
...
HI , i m using CoreLocation Framework and getting the location. in Simulator it is working fine . but when i am deploying the app in my iPod Touch 2G with OS 2.2.1 .. it is giving my a strange error ..
Error Domain=kCLErrorDomain Code=0 "Operation could not be completed.(kCLErrorDomain error 0.)"
What to do ?? can anyone help ??
...
I want to pull a list of coordinates from a database into an array (Before displaying them on a map). however, in the database they are of type Number, and I can't figure out how to convert them to coordinates.
This doesn't work:
Where I have an ATM object (The coordinates are for atm machines) with NSNumbers for latitude and longitude....
I have an iPhone app that is using CoreLocation.
Upon first installing the app, the iPhone system message is displayed asking whether or not the user wants to allow location services, if they click yes, my app suddenly displays the first screen of my app (I'm using a navigation controller), and crashes. This is what I see in the log - ...
I have an iPhone app using a UINavigationController. On the fourth controller of the stack, I'm doing some Core Location stuff - so, the first couples of times that the user uses my app, they are asked if it's ok to use Location Services. This is a process that (I think) I don't have any control over.
After the user confirms, they are ...
fellas,
I am developing a application in which I need functionality to ask user for their location more than once, what happening is when user allowed it once to use his location and when he navigate to another section it's not asking him to get his location, it's taking it from already cached location.
is that possible to ask user mul...
hii
i want to retrive user's current city name ... can any one help me ..
urget require ..
thanks
...
How do you disable coreLocation on the iPhone simulator? I'd like to test some stuff but can't find a way to disable it.
...
Hey,
My app knows the current user position (CoreLocation.framework).
As soon as the user opens a new MapView his iPhone starts searching for the current position again.
Is it possible to skip that or to change the first user position for mkMapView?
Edit:
Is it possible to overwrite MKMapView and use an other LocationManager?
...
While my app is displaying a UIActionSheet, I send startUpdatingLocation to the CLLocationManager. This results in a Location Warning, if the user has not yet agreed to letting my app use her location.
Now, the problem is, that the UIAlertView that the Location Manager displays pops up behind my UIActionSheet, and thus the user can not ...
Does anyone know how I can animate the blue circle / dot like google maps when you find your current location? I saw this in a differnt iphone application and was wondering how to programatically create that animation and look and feel using the iPhone SDK 3.0? Can anyone shed some light on this? Sample code would be great.
...
Is there a way to utilize this? 10.6 uses it to determine the time zone; it can be disabled in Security.prefPane.
...
Hello all iPhone developers,
I am developing an iPhone application.
In this application i want to find nearest places related to current CLLocation that I am getting from the iPhone device.
I have currently a database in different server .
I am accessing it via .NET web service.
In the database for testing purpose i have created so...
Hi Everyone:
I am wondering if there is some way to find people that are near you using data supplied by the Core Location Framework. If you can get the other person's CLLocation's description attribute, I assume there must be some way to compare this in terms of location to your location.
Thanks for any help.
...
I have a navigation stack.
In the rootView I initialize the location manager, and I have the proper delegate methods settled.
Then I push a view passing the current retrieved location.
and everything works well
on the other if I push the view while the location is still loading the position of an eventual better coordinate are not sent...
When I install my application on the iPhone it asks for the current location with the options "Don't allow" and "Ok" in an alert. How do I find out which option was chosen? I also want to show this option only once. If the user chooses to allow their current location to be found, I want the device to automatically get the location in the...
Hi,
In my app i am using CoreLocation services to access current Location. For accessing the current location in iPhone the Location service must be turned ON in settings. If not it alerts the user as
"Turn On Location Services to Allow "helloworldApp" to determine Your Location" and choices for this alert message are settings and can...
I could have sworn that the expected behavior for the core location permission dialog is something like this:
if the user clicks "Yes", it will not be shown again
if the user clicks "No", it is shown one more time, the next time the app launches. If the user clicks "No" a second time, it will not be shown again.
What I'm actually se...