我正在做一个基于 GPS 位置的应用程序。它是一种 GPS 报警应用程序。为此,我应该在 info.plist 文件的“所需设备功能”下包含哪些属性?我们是否应该同时包含“gps”和“位置服务”?我有一台 iPad...如果我包含“gps”,我的应用程序不会安装在上面。如果我同时包含两者,我的应用可以安装哪些设备?请帮我。提前致谢。
1 回答
Standard location services are available in all versions of iOS 2.0 or higher. Since all iOS (iPhone/iPod Touch/iPad) device have Wi-Fi radio, your application can be installed on those device.
For example: since iPod touch only uses Wi-Fi for Location Services if a Wi-Fi network is available. This means if your application is running with Wi-Fi off, it just won't receive any data. And on iOS 4.0 or higher, the user can disable location services for your application.
If you want gps accuracy, will only install on iPhone and iPad Wi-Fi + 3G only, i.e . devices with cellular radio. It's not available on original iPhone or iPad Wi-Fi.