Hi, Yes, Roy's interpretation of how this method is supposed to work is correct. You can think of it as a check for >= the version you pass in.
Hope that helps, Jeff On Sun, Mar 25, 2012 at 9:49 PM, Roy Goode <[email protected]> wrote: > 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 <[email protected]> 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 >> [email protected] >> http://lists.ximian.com/mailman/listinfo/monotouch >> >> > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
