cllocationmanager
CLLocationManager distanceFromLocation: returns -1
I am trying to use corelocation at the very beginning of my app, to get initial location. I have delegate method:[详细]
2023-02-16 15:22 分类:问答Get CLLocation coordinate from a method
I follow a tutorial from http://www.vellios.com/2010/08/16/core-location-gps-tutorial/ to make an app to show user\'s current location.[详细]
2023-02-16 14:34 分类:问答CLLocationManager didUpdateToLocation, bring values to a NSString to use elsewhere!
Using NSLog(@\"%@\",longi) outside this function crashes my application.... How can I use this NSLog outside the didUpdateToLocation function? Like in a IBAction function.[详细]
2023-02-16 12:55 分类:问答CLLocationManager doesn't ask me when deployed
So I am building an iPhone app and when on the simulator it asks me for permission but when I debug on the device I don\'t get asked?[详细]
2023-02-15 06:13 分类:问答CLLocationManager "what if user says no"
Two questions: If the user says \'开发者_开发百科no\' what is the best way to handle this?My app depends on location as I show them how far they are form things (3.8 miles away, .2 miles away, 5 mil[详细]
2023-02-14 12:15 分类:问答iOS CoreMotion CMAttitude relative to north pole
I\'m currently using CoreMotion\'s DeviceMotion to get the orientation (roll, pitch, yaw) of the iPhone. Now I would like to have these values relative to the geographic north p开发者_开发问答ole; so[详细]
2023-02-14 10:17 分类:问答Placing a blue dot (user location) Only using CLLocationManager
I\'ve read through countless posts here on stack and apple\'s docs and can\'t find anything to solve this problem.[详细]
2023-02-13 10:55 分类:问答is there a way to set the CLLocationManager constants to miles-based instead of kilometer based?
I am trying to find a way to change an iphone app built using CLLocationManager, but its setup for kilometers. Is there a way to change i开发者_JAVA技巧t to miles?Sure!Divide all values by 1.609344.[详细]
2023-02-11 20:03 分类:问答Get User Location Coordinates inside didSelectRowAtIndexPath (for TableView Cell tap)
Here\'s the code - it speaks for itself (see, specifically, the @todo in the code): // Handle taps of certain table rows[详细]
2023-02-11 11:30 分类:问答CLLocationManager seems unable to update my location more than once
Basically I am following the \'Big Nerd Ranch Guide - iPhone Programming\' and trying to simply get the location to be output on the console as frequently as possible. When running it on my computer I[详细]
2023-02-08 16:28 分类:问答