-2

我正在制作一个应用程序,告诉用户他们正在使用什么样的 iOS 设备,然后告诉他们设备的功能。下面是一些示例代码:

case UIDevice1GiPhone: return UIDeviceBuiltInSpeaker | UIDeviceBuiltInCamera | UIDeviceBuiltInMicrophone | UIDeviceSupportsExternalMicrophone | UIDeviceSupportsTelephony | UIDeviceSupportsVibration;
case UIDevice3GiPhone: return UIDeviceSupportsGPS | UIDeviceBuiltInSpeaker | UIDeviceBuiltInCamera | UIDeviceBuiltInMicrophone | UIDeviceSupportsExternalMicrophone | UIDeviceSupportsTelephony | UIDeviceSupportsVibration;
case UIDeviceUnknowniPhone: return UIDeviceBuiltInSpeaker | UIDeviceBuiltInCamera | UIDeviceBuiltInMicrophone | UIDeviceSupportsExternalMicrophone | UIDeviceSupportsTelephony | UIDeviceSupportsVibration;           
case UIDevice1GiPod: return 0;
case UIDevice2GiPod: return UIDeviceBuiltInSpeaker | UIDeviceBuiltInMicrophone | UIDeviceSupportsExternalMicrophone;
case UIDeviceUnknowniPod: return 0;
case UIDevice3GSiPhone: return UIDeviceSupportsGPS | UIDeviceBuiltInSpeaker | UIDeviceBuiltInCamera | UIDeviceBuiltInMicrophone | UIDeviceSupportsExternalMicrophone | UIDeviceSupportsTelephony | UIDeviceSupportsVibration;

这正是我正在寻找的东西。第一行表示第一代 iPhone 有一个内置扬声器、一个内置摄像头、它支持外接麦克风等。有人知道我在哪里可以获得所有设备的完整列表吗?我的清单不见了:iPhone 4、iPhone 4s、第 3 代 iPod、第 4 代 iPod 和所有代的 iPad。谢谢你。

4

1 回答 1

0

如果您正在寻找功能列表,您可能需要查看 Wikipedia 以了解iPhone 型号比较iPod touch 型号iPad 技术规格

您还可以在 Google 上搜索您要查找的特定设备以及“规格”一词(例如“iPod touch 第 3 代规格”),您通常会获得大量点击,通常包括 Apple 自己网站上的页面(例如,请参阅3g 触摸规格在这里)。

于 2012-09-11T00:49:51.253 回答