GPX files for iOS Simulator [closed]
- Run you app. In debug are you can find "Simulate location" button
2.You can select one of default locations (here is list)
If you need a custom location
Create new file : File -> New ->File (Resources tab) GPX fileclick (at the bottom of locations list) "Add GPX File to workspace"
- Go to this website and get Latitude and Longitude of a Point that you need.
- Edit GPX file that you have created.
- Open "Simulate Location", the same as in step 1, and Your location from GPX file will be available in the list.The name of location will be same same as a name of the file.
Here is a simple GPX file with an entry for Ann Arbor, Michigan. You can just change the name and lat/lon.
<?xml version="1.0" encoding="UTF-8" standalone="no"?><gpxxmlns="http://www.topografix.com/GPX/1/1"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"version="1.1" creator="gpx-poi.com"> <wpt lat="42.280826" lon="-83.743038"> <name>Ann Arbor</name> </wpt></gpx>
You create a route and generate a gpx file here - http://www.bikehike.co.uk/mapview.php
On another note it might help, are you aware the simulator can simulate movement if you run the simulator then select the following menu options:
- Debug
- Location
- You can select freeway drive, cycle ride, run etc