为了开发应用程序,我很难找到一个还在运行iOS6的设备。有人有聪明的主意吗?
希望有人能给我建议。
发布于 2014-03-15 03:49:12
得到一个iPhone 3Gs或iPod Touch 4g。这些设备不能升级到超过6.x版本的iOS。据我所知,这是唯一支持6.x而不是7.x的设备。
发布于 2014-03-15 05:10:19
使用此条件检查
#define IS_IOS6 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0 && [[[UIDevice currentDevice] systemVersion] floatValue] < 7.0)
if (IS_IOS6)
{
NSLog(@"Running in IOS-6");
}
else
{
NSLog(@"Running in IOS-7");
}https://stackoverflow.com/questions/22419221
复制相似问题