Is it really certain that any IADAd actually has a GPS signal? I can think of three cases:
- WIFI only IPAD
- WiFi with external GPS only IPAD (such as DualXGPS)
- with cellular IPAD Internal GPS
Apple's documentation mentions:
Some location services require the presence of specific hardware on a given device. For example, title information is available only for devices that include hardware compasses. This class defines several methods that you can determine which services are currently available.
Is there a special call that works especially with GPS such as title or tracking? I believe the only GPS device has a shipping call because the documentation says:
In iOS, a device can report a mathing information from the proper hardware. When the value in the heading available property is yes, you can use a Location Manager object to get information at the top.
Some previous posts have suggested that attempts to get a lock on a very accurate GPS update
But I was hoping for some more concrete that these methods "will" was washed - because only one wrong reason would be the possibility of GPS signal that there is no GPS there, when the device actually has the capability it occurs. Apart from this, I think a WiFi device that can also "copy-gps" can be passed, how can one of these be passed?
Thanks for any help!
The simplest answer is that you should try to use GPS on the accuracy that you need and See if you receive it. And to deal with the fact that you can not achieve this accuracy because the user is in the building, or in the urban canyon, or the GPS is not the hardware, or the location services are closed (although it can be detected is).
If you get more accuracy than 100 meters or if you have CLLocation
height then you almost certainly have GPS hardware (but you get at least one signal lock If you have a cellular radio connection (see Reachability) then you have GPS hardware (except iPhone1) if you have a digital combo capacity So you have GPS hardware (except for iPhone 3G)
Internal GPS hardware is available on all iPhones and iPads, which looks at cellular radios (excluding iPhone 1). If you study that chart, it seems that in all the devices (so far), the GPS hardware has the option of excluding iPhone 3G and digital converts (magnetometer).
works from
CLLocation
(as suggested)) if the device is growing rapidly and the GPS has satellite lock near The better option would be whether you have title
from the compass (magnetometer).
You can use the hardware string, which can be determined on the basis of hardcoding of the device's capabilities, which are hardware's capabilities (described), this update should be kept (which means an app update ) When new devices are offered. Erica Sadun has categories for UIDevice
named hardware
, but this app is not usable in the store.
None of these external plug-ins will help GPS or external Bluetooth devices in GPS.
Comments
Post a Comment