How to check iOS version delphi xe5/xe6

血红的双手。 提交于 2019-12-23 20:39:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!