How do I pass a bool into locationManager on iphone with startUpdatingLocation?
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:51 UTC
Read the original article
Hit count: 305
iphone-sdk-3.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?
© Stack Overflow or respective owner