Search code examples
iphonexcodeios4xcode4

Why i am not able to fetch the location in Simulator?


Question it self explain the detail, but still i have explained about the question.

I am new to fetch the location of the current Application. I have build one application that gives me the Current location in Text View.

But while i run that application in to xcode 4.0, I can't see any location to be fetch.

As i refer many example, i am right in coding. But now i want to know is IPhone Simulator able to fetch the current location ?


Solution

  • In iPhone simulator doesn't give the currentlocation.But It should be work in the Device.So try it on device.