The task was to create a program so that you can specify your location manually. To Apple maps, Google, etc. I saw the geo-location that I indicated in my manually created program.
What is the question: Can it work out, and can a little algorithm? just explain .. and is it possible to do this without a jailbreak?
UPD: An analogue of such a program is available in Android: Location Spoofer