iphone app - how to get the current location only once and store that to be used in another function?
I've been working on this for the past 2 weeks - i have an app that shows a legible route on a map that goes from a start point to a destination point. the destination point is the users address (as defined/entered by the user in the settings menu we have set up) and if i hard code the start point, the map, route and application all work fine. once i try to implement anything that involves using the cllocation or cllocationmanager, it crashes and gives me a thread error (there are 3). Here is the current view controller header & implementation file for this: #import <UIKit/UIKit.h> #import