Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I tell if an iOS device has a GPS?

For an iPad, or iPod touch, is there a way to find out if the device has GPS?

Extra Credit: What if the iPad itself does not, but it is connected to a third-party GPS unit? Can I determine this?

like image 918
Brad Avatar asked Aug 21 '11 23:08

Brad


People also ask

How do I know if my iPhone has an GPS on it?

Go to Settings > Privacy > Location Services. Make sure that Location Services is on.

How do I know if iPad has GPS?

If your iPad is a WiFi & Cellular model - then it will have aGPS capabilities. If by contrast your iPad is a WiFi Only model, then your iPad does not have built-in GPS. For iPad, aGPS (Assisted GPS) features are an integral part of the Cellular chipset.

How do I find Location Services in IOS?

You can turn Location Services on or off at Settings > Privacy > Location Services. You can turn Location Services on either during the Setup Assistant process or later through the Location Services setting. You can individually control which apps and system services have access to Location Services data.

Can iPhone be GPS tracked?

FollowMee GPS Tracker converts your iPhone or iPad into a GPS tracking device. Installing this app to the device that you want to track, you can monitor its whereabouts on the FollowMee.com web site. Using this app, you can track your family members, company devices, or even your employees.


2 Answers

Apple does not provide a function to directly query the device if it has GPS capabilities or not. There are two possible solutions to your problem:

  1. Query the device type and determine if it has GPS based on that. This is described here.

  2. The way Apple recommends: have a look at their documentation here (Section "Determining the available Hardware Support"). Basically you create an instance of CLLocationManager and set the desired accuracy to the highest level, after that you can query its accuracy; if it's not very accurate, it's likely that the device does not have GPS.

Hope this helps. :)

like image 107
fbrozovic Avatar answered Sep 26 '22 22:09

fbrozovic


For iOS 6 or higher, you might want to try

+ (BOOL)[CLLocationManager deferredLocationUpdatesAvailable]

According to the documentation:

Deferred location updates require the presence of GPS hardware and may not be supported on all iOS devices.

like image 28
user2565077 Avatar answered Sep 24 '22 22:09

user2565077