After following the directions up to page 83 I get more errors than i can put on here. I am using ios sdk 4.3 with xcode 4.0.2 please help someone!!
I am getting lots of linker errors!
[code]- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
// Override point for customization after application launch.
locationManager = [[CLLocationManager alloc] init]; [locationManager setDistanceFilter:kCLDistanceFilterNone]; [locationManager setDelegate:self]; [locationManager setDesiredAccuracy:kCLLocationAccuracyBest]; //Tell our manager to start looking for its location immediately [locationManager startUpdatingLocation]; [self.window makeKeyAndVisible]; return YES;
-(void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
-(void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error
NSLog(@“Could not find location: %@”, error);