简体   繁体   中英

Required device capabilities for iPad Wifi only

I recently published an app in the AppStore. Many users are getting the device compatibility message and it seems that all of them are having an iPad WiFi only. My app need location of the user but it don't need an accurate one. Currently in the Info.plist I've location-services and gps under the required device capabilities.

My question is: If I remove these two requirements from the info.plist. Will my app be able to execute and get location whenever it's possible?

Sorry for asking but I have no real devices to test.

You can safely remove the gps capability

Apple's documentation regarding the gps capability key:

Include this key if your app requires (or specifically prohibits) the presence of GPS (or AGPS) hardware when tracking locations. ( You should include this key only if you need the higher accuracy offered by GPS hardware. ) If you include this key, you should also include the location-services key. You should require GPS only if your app needs location data more accurate than the cellular or Wi-fi radios might otherwise provide.

https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM