Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Scott Taylor
7,089 PointsMap Basics in iOS
Me again..
Does anyone know of any good online resources for getting to grips with maps and their integration into iOS apps?
Thanks!
3 Answers
Stone Preston
42,016 Pointswhat exactly are you wanting you do? add pin annotations? directions? the app im working on now uses mapviews and location stuff pretty extensively so If you can provide some specifics I may be able to dig some stuff up that helped me out
Scott Taylor
7,089 PointsHi Stone,
Thanks for taking the time to respond.
For one of the apps I'm working on, a user will have to "pin" their location (similar to Uber whereby the user can "track" a taxi's progress toward them).
Thanks.
Stone Preston
42,016 Pointswell the users location is fairly easy to obtain using a CLLocation manager. see this guide for a pretty good walkthrough of how to do this. It also shows how to work with mapviews as well.
Using a CLLocation manager may seem like a lot of trouble (you have to implement quite a few delegate methods) but besides that its simple and easily customizable to fit your needs (accuracy etc). If you have any questions feel free to ask.