How to Check GEO Fencing or Location based apps in simulator iOS Swift
Then we have to put the latitude and longitude values in that file and give the location name in that.
For Example
<?xml version="1.0"?>
<gpx version="1.1" creator="Xcode">
<wpt lat="37.0902" lon="95.7129">
<name>Fence 1</name>
</wpt>
</gpx>
The above I had put my required lat and long values and set the name as Fence 1.After running the project in the simulator you have to select the location in the menu.Go to Debug->Simulate Location->then select your file(fence1.gpx) in the menu.The simulator will show the location in the map.We can add more locations repeating the above steps and check the location based updates in the simulator.In Apple Maps or google maps, we can use the above scenario for the location based process.
Comments
Post a Comment