tags:

views:

89

answers:

3

When testing on simulator i wont get this pop up "Would you allowed this app to use your current location" ,but while testing on device this message pops up.Does anybody know why it is?

+1  A: 

It is because in the Simulator, you are testing your app, and there is no real location data. It only appears on the device for privacy reasons which, of course, don't exist in the simulator.

chpwn
A: 

There is something called iSimulate that lets you do this, but you have to pay for this.

gyurisc
A: 

Hi shilpa,

You get this pop up on device because it is related with some privacy, this is some that the SDK does to verify if the user really wants to allow the app to get info about the device location.

On simulator, it doesn't happen only because Apple doesn't want, but I think it should be asked, so we could simulate some behavior when the user doesn't allow the use of the GPS.

Cheers,
VFN

vfn