Is it possible to tell for certain whether or not a device has GPS hardware, without maintaining a list of devices that have GPS hardware (as described here)?
The answer to this question references using CLLocationManager
, but provides a dead link.
I also read about checking whether or not the device has a carrier. I'm assuming this would require the device to actually have an active SIM card, which would cause problems with test devices and a few other edge cases.