问题
How do you disable coreLocation on the iPhone simulator? I'd like to test some stuff but can't find a way to disable it.
回答1:
Do it on the device. When the "Would you allowed this app to use your current location" message pops up, then press No. Then you should be able to test it. This message doesn't come up in the simulator
来源:https://stackoverflow.com/questions/1382958/how-to-disable-corelocation-in-the-iphone-simulator