模拟器中的当前位置 [英] Current Location in the Simulator

查看:176
本文介绍了模拟器中的当前位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个应用程序,我必须找到user.can的当前位置。我通过使用CLLocationmanager在iOS 5模拟器中获取用户的当前位置?

Im doing an app in which i have to find the current location of the user.can i get the current location of the user in the iOS 5 simulator by using CLLocationmanager?

推荐答案

在Xcode中,您可以使用控制台上方的小按钮选择要模拟的位置。

In Xcode, you can select the location to simulate using a small button above the console.

这篇关于模拟器中的当前位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆