问题
Is there a way to set the current user location in iPhone simulator on Xcode 4?, I want the simulator to show a different location other than Cupertino.
回答1:
Yes, from the simulator's menu choose Debug > Location > Custom Location...
.
回答2:
You can Simulate Location by selecting Product -> Debug -> Simulate Location and select Location option from Xcode tool.
This is shown in following figure:


回答3:
You can add GPX file to get the current location on simulator.

来源:https://stackoverflow.com/questions/6223345/set-current-user-location-in-iphone-simulator