Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android
by Jakob Iversen, Michael Eierman
Hardware and Sensors
Different devices running iOS will have different hardware sensors to provide location data. The most accurate sensor for outdoor use is the GPS, which can provide accuracy down to a few meters, but it isn’t available on iPod touch or the Wi-Fi iPad versions. The iPhone and 3G iPad can also take advantage of cell tower triangulation, and all devices can use the location of Wi-Fi access points to provide location data. Some devices also have a GPS and altimeter built in to provide data on where the device is headed and how high it is above or below sea level. Whenever a location or heading is reported, it also reports an accuracy that you can use to understand the quality of the data received.
As a developer, you don’t decide ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access