Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to identify the iOS version in Xamarin.iOS

In native iOS I know how to get device iOS version. But now I want to achieve in Xamarin.iOS. So,

how can I get the iOS version of device using Xamarin.iOS?

like image 964
user3124624 Avatar asked Jan 21 '14 16:01

user3124624


1 Answers

I am able to get the iOS device version using

UIDevice.CurrentDevice.CheckSystemVersion(7, 0)

The above method returns the BOOL value true, if the device version is above (or equal to) iOS 7. Otherwise it returns false.

like image 181
user3124624 Avatar answered Sep 21 '22 16:09

user3124624