Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using core location on iphone simulator

I am developing an GPS based app. So I was wondering how could I simulate location on iphone simulator? I downloaded an sample app locateMe. This app does not work on simulator. Does simulator not support location api?

Any help would be appreciated.

like image 254
Ideveloper Avatar asked Aug 20 '10 10:08

Ideveloper


1 Answers

Update: Xcode 4.2 with iOS 5 supports GPS positioning.

Select the Simulator -> Debug -> Location -> Custom Location...

Previous Version

No the simulator does not support it. So for GPS you have to install the application in the device to check it.

Simulator is gonna give you longitude and latitude as the address of Cupertino Where the headquaters of apple is.

So you have to use device only.

Happy Coding

like image 81
Suresh Varma Avatar answered Oct 12 '22 23:10

Suresh Varma