iOS SDK版本格式 [英] ios sdk version format
本文介绍了iOS SDK版本格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
iOS版本字符串是否遵循文档格式?我想解析sdk版本字符串,并按升序对其进行排序.苹果文档是否对此有任何说明?
Does the iOS version string follow a documented format? I want to parse the sdk version strings and sort them in ascending order. Does the Apple documentation say anything about this?
推荐答案
An example of the system version is @"1.2".
@propertyic,readonly,retain) NSString *systemName
@propertyic,readonly,retain) NSString *model
模型字符串的可能示例是 @"iPhone" 和@ "iPod touch" .
Possible examples of model strings are @"iPhone" and @"iPod touch".
博客文章以访问 UIDevice属性
这篇关于iOS SDK版本格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文