Run the code on a live device. Understand the concept of drift. Learn the different accuracy modes.
- [Instructor] After looking at the Neat Simulator data,…it's time to get a little more messy.…Real sensors are not as nice.…To show you the problem, we'll edit annotation…in your location services delegate, did update locations.…Add the following two lines of code.…Let pizza pin…equal a pizza annotation.…The coordinate will be coordinate 2D.…
We'll use a display string…for a title.…We'll have a blank subtitle, and then add that annotation.…If you a device connected, select the device to run.…Run on your device, go ahead…and press the Here button once it comes up.…Since it's the first time you've run it,…it'll ask if you want to allow location services,…and you're going to say Allow.…
Hit Here again.…It's likely you'll see the one location dot…surrounded by several pizza pins…or hidden by it as in my case.…This is drift, an unavoidable problem…with location-finding on a phone.…I can zoom in here a little bit.…You can see there's more than one pin there,…but where I am, it's a little bit more accurate…than it seems to be most people.…
- Getting coordinates from the web
- Working with Core Location data types and regions
- Creating a map in 2D, 3D, satellite, and flyover views
- Adding annotations
- Adding overlays
- Finding the current location
- Tracking heading, speed, and region
- Searching for locations
- Requesting and displaying directions
Skill Level Advanced
Advanced iOS Development: Working with APIswith Saul Mora1h 59m Intermediate
1. Basic Map and Location Concepts
5. Current Location
6. Heading, Speed, and Regions
Next steps1m 38s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.