ios - 如何查看iOS版本delphi xe5/xe6

标签 ios delphi delphi-xe5 delphi-xe6

有没有办法在 Delphi 应用程序中检查 iOS 版本?我想在 Delphi XE6 中为 iOS7 和 iOS6 创建一段特定的代码。

最佳答案

您可以使用 TOSVersion记录在 System.SysUtils 中。

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

您还可以找到适用于 iOS 的示例 here .

关于ios - 如何查看iOS版本delphi xe5/xe6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26758808/

相关文章:

ios - UIImageView 快速缩放和拖动

mysql - 如何连接到MySQL服务器

ios - 电子邮件链接验证不工作 : Firebase Auth always returns false for `isSignIn(withEmailLink:)`

iOS 选择器不适用于我的情况,为什么?

ios - 在 Swift 中使用多行获取 UILabel 高度

delphi - Delphi 11 Alexandria 中的组件图标

delphi - 注册表 "forgetting"值

Delphi 2010 Datasnap - 设计查询

delphi xe5 StrToFloat 失败将ThousandSeparator更改为 ','

android - Delphi XE5 AndroidManifest.xml无法设置 minSdkVersion=14 或更大