views:

72

answers:

0

I want to pass a flag into my location manager function

- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation

so it will look like

- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation andTweet:(Bool *)tweet

but it started with the command

[locmanager startUpdatingLocation];

So how can I pass the bool into the function?