Is there a way to set the current user location in iPhone simulator o开发者_运维技巧n Xcode 4?, I want the simulator to show a different location other than Cupertino.
Yes, from the simulator's menu choose Debug > Location > Custom Location...
.
You can Simulate Location by selecting Product -> Debug -> Simulate Location and select Location option from Xcode tool.
This is shown in following figure:
You can add GPX file to get the current location on simulator.
精彩评论