How to check iOS version delphi xe5 / xe6

Is there a way to check the iOS version in a Delphi application? I would like to create a specific piece of code for iOS7 and iOS6 in Delphi XE6.

+3


source to share


1 answer


You can use the TOSVersion entry in System.SysUtils.

if TOSVersion.Check(7, 0) then //Os is iOS 7

      



You can also find a sample for iOS here .

+4


source







All Articles