Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check iOS version delphi xe5/xe6

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

like image 528
Remi Avatar asked Dec 10 '25 05:12

Remi


1 Answers

You can use TOSVersion record in System.SysUtils.

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

Also you can find sample for iOS here.

like image 51
SimaWB Avatar answered Dec 12 '25 22:12

SimaWB