开发者

Set current user location in iPhone simulator

开发者 https://www.devze.com 2023-03-09 23:23 出处:网络
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

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

精彩评论

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