From the course: Shared Economy for iOS Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

User location

User location - iOS Tutorial

From the course: Shared Economy for iOS Development

Start my 1-month free trial

User location

- [Instructor] One thing we'll need to store in our database is where the service provider needs to go. This is where they need to pick up their rider, drop off a package or mow a yard. I'm not giving up on that idea just yet. To do that, we're going to get the location in the app. So we're going to turn our attention now to some iOA specific things. And in this case we're going to look at Core Location. You can go to https://developer.apple.com/documentation/corelocation to see the details on Core Location and what it provides. Depending on the requirements of the project, we may not care where they are right now, so we may not want to get just their specific location where they're using the app. We don't want to deliver their package to the restaurant where they actually ordered it or mow the yard at work where they happen to make their request. So what's great is Core Location provides some classes for being able to get other types of location information. Specifically this class…

Contents