如何在iPhone模拟器中禁用coreLocation? [英] How to disable coreLocation in the iPhone simulator?

查看:50
本文介绍了如何在iPhone模拟器中禁用coreLocation?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在iPhone模拟器上禁用coreLocation?我想测试一些东西,但是找不到禁用它的方法。

How do you disable coreLocation on the iPhone simulator? I'd like to test some stuff but can't find a way to disable it.

推荐答案

在设备上进行操作。当您是否允许该应用使用您当前的位置消息弹出时,请按No。然后您应该可以对其进行测试。此消息不会出现在模拟器中

Do it on the device. When the "Would you allowed this app to use your current location" message pops up, then press No. Then you should be able to test it. This message doesn't come up in the simulator

这篇关于如何在iPhone模拟器中禁用coreLocation?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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