One of the activities for my company's app has a directions utility that allows the user to input their postcode, choose one of our offices, and Maps will route from the given postcode to one of our offices.
Leaving the postcode field blank results in Maps defaulting to 'your location', however you need to click 'Go' in the Maps app for it to work, while providing a postcode will automatically do the routing without having to make that extra click.
This is a small but necessary thing that needs to be solved for ease of use purposes.
I understand that i will need to use locationManager etc, however i am unsure how to use it properly. A lot of the tutorials i've seen implement a full mapView, however i am simply wanting to obtain the users location via GPS, and geocode that into a postcode all in the background so the user doesn't actually see anything.
I'm sure it's possible, but what do i need to do?
Thanks.