Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to more easily use the IOS simulator location?

I was Android developers before.

Previously I have developed some navigation related app for Android.

And i am use Genymotion simulator,it's very handy when simulate location.

For example, please look at the picture below.

I can press the "MAP" button

He will jump out of a "map window"

When I tap some place,it will automatically simulate to location that i tap

enter image description here

Now I want to develop IOS app

IOS simulator can simulate Location,but very inconvenient

I need to enter latitude and longitude to simulate by myself

But I often need to simulate different locations and it's very inconvenient to manually enter

enter image description here

I want to like Genymotion can let me tap some place i want to simulate

Any advice? Please help me Thanks

like image 508
CK vir Avatar asked Nov 27 '25 01:11

CK vir


1 Answers

Actually there is no easier way to do that using the iOS simulator. However you can prevent from entering those data again and again by using gpx file.

For that you need to create a new gpx file, using File->New File->Resource->GPX File

GPX File

Then create the gpx data using http://gpx-poi.com/ and paste it to the gpx file and save it. If you again run the app, the new entry will be in that simulate locations list.

Please read this tutorial for more.

like image 97
Midhun MP Avatar answered Nov 28 '25 15:11

Midhun MP



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!