Possible Duplicate:
Disappearing UILocation alerts in XCode 4.2 with ARC iPhone
I'm trying to get the user's location using a class called MyCLController (found somewhere on the Internet). I have already used it in different application without any problem.
But in a new project when I call:
MyCLController *loc = [[MyCLController alloc] init];
loc.delegate = self;
[loc.locationManager startUpdatingLocation];
The usual prompt "App would like to use your current location" appears and disappear straight away without giving me time to say yes or no. After seeing it twice, the prompt doesn't even appear any more (like when you press "don't allow" twice)
I'm not too sure what other info could relevant at this stage but I'm happy to provide anything that would help (settings, code, etc...)