开发者

Set current user location in iPhone simulator

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:

Set current user location in iPhone simulator

Set current user location in iPhone simulator


You can add GPX file to get the current location on simulator.

Set current user location in iPhone simulator

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜