Closed vuinguyen closed 4 years ago
If location services are enabled, maybe show current location by default. For 1st run through, let's allow user to type in their location?
Your OnTheMap project has code for location, and reverse geolocation, which may be useful here.
We need this to work first before we can work on the weather feature, because the weather API depends on knowing the location
A couple of screenshots of my work for the Location feature so far ....
Asking for user permissions:
Using the Location button to populate the Location field (from using the mock location feature in Xcode):
Finally, I am able to retrieve the saved Location from Core Data and re-display in the editor window, as shown here
I'm going to create new issues for the bonus features, and call this issue done and close it for now.
enable location services, if user has that turned on.
Otherwise, let them type in the location.
Bonus: save location in NSDefaults, so it can show up in in the auto-complete, search functionlater
Bonus: display map with location