I am writing code in Pythonista for iOS. I am trying to create a program that can "sense" the proximity of my phone to a location and then trigger actions once near that location. I am using the location module in Pythonista and I have only been able to "get" my phone's current location below. Can anyone help introduce me to the code that I need?
location.start_updates()
time.sleep(5)
loc = location.get_location()
addr = location.reverse_geocode(loc)
location.stop_updates()