How do I pass a bool into locationManager on iphone with stopUpdatingLocation?

Posted by user295944 on Stack Overflow See other posts from Stack Overflow or by user295944
Published on 2010-03-18T22:26:16Z Indexed on 2010/03/18 22:31 UTC
Read the original article Hit count: 276

Filed under:

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 stopUpdatingLocation];

So how can I pass the bool into the function?

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0