0

I need to test the scenario where looking for near by places of US location while I am in India. I have GPX file having coordinates of US location but I do not have code access so how can I use this GPX file to make fake location?

Pooja Maha
  • 81
  • 1
  • 6

1 Answers1

1

In iOS Simulator Menu, go to Debug -> Location -> Custom Location. There you can set the latitude and longitude and test the app accordingly. This works with MapKit and also with CLLocationManager.

Rushabh
  • 3,208
  • 5
  • 28
  • 51