[MonoTouch] Fwd: UIDevice.CurrentDevice.CheckSystemVersion
Roy Goode
roy at roygoode.com
Mon Mar 26 01:49:33 UTC 2012
Hi Alex
If you're running on an iOS 5.x device then it has the APIs for iOS 5, iOS
4 and iOS 3, which I think is what MonoTouch is telling you with those
return values.
If you're running on an iOS 4.x device then I'd expect
CheckSystemVersion(5, 0) to return false - which it does for me.
Roy
On 25 March 2012 19:58, Alex Soto <dxdream at gmail.com> wrote:
> is UIDevice.CurrentDevice.CheckSystemVersion() broken?? it always returns
> true no matter what params I use
>
> Debug.WriteLine(UIDevice.CurrentDevice.CheckSystemVersion (5, 0));
> Debug.WriteLine(UIDevice.CurrentDevice.CheckSystemVersion (4, 0));
> Debug.WriteLine(UIDevice.CurrentDevice.CheckSystemVersion (3, 0));
>
> btw I'm using MonoTouch 5.3.2
>
> Alex
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120325/ca0ab139/attachment.html>
More information about the MonoTouch
mailing list