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

iOS

Map 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

what 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

Hi 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.

well 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.