问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/26758808/how-to-check-ios-version-delphi-xe5-xe6