Frade Frade - 1 year ago 101
iOS Question

how to test geolocation on simulator

I'm starting with geocoding, and after read a few things I realize that are some people using the simulator for testing their code.

Is that possible!?? Can someone tell which tools use!?
(it's better than walking around)


Answer Source

XCode 4.2 with iOS 5 now supports "Location simulation", you can refer it HERE.

Steps to use this feature:

  1. Build & run your app in iPhone 5.0 Simular.
  2. At the top menu bar, you'll find Debug -> Location -> Custom Location..(or you can choose to use others).
  3. Set the Latitude & Longitude for the location.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download