Hi Mittchel,

I believe that's for the overall location services switch. You should
use CLLocationManagerDelegate and override Failed, which lets you check if
an error occurred.

Mikkel

On Thu, Nov 10, 2011 at 14:15, Mittchel Van Vliet <[email protected]>wrote:

> Hello everyone,
>
> I'm having the following problem: I'm using the current location of the
> user and this works fine, but if the user turns location services off for
> my application I want to rise an  UIAlertView saying that he has to turn it
> back on..
>
> But for some reason he doesn't pass my if statement:
>
> if (CLLocationManager.LocationServicesEnabled)
>
> {
> }
>
> The result stays true even though it's disabled.. what am I doing wrong
> guys?
>
> Greetings,
> Mittchel
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to