'startAnimating/setHidden:YES' not working? BOGUS


#1

These too message sends have no effect on the program.
I placed a sleep(3) function in the [color=#4000FF]’(void)locationManager:(CLLocationManager*)manager didUpdateLocations:(NSArray *)newLocations’ [/color]method just before [color=#4000FF]’[self foundLocation:manager.location]’[/color] and it worked ONLY ONCE?! Then after that it did not work again no matter what I tried?
Can someone please help me out with this :neutral_face:

edit:
[color=#4000FF]-(void)findLocation
{
[locationManager startUpdatingLocation];
[activityIndicator startAnimating];
[locationTitleField setHidden:YES];
}[/color]
The above method is bogus in my opinion because without the line ‘[locationManager startUpdatingLocation];’ the other two lines produce results but with the quoted line they do not.
Can anyone shed some light on this as its really bugging me.