iOS模拟器始终将位置重置为“无” [英] iOS Simulator Always resets Location to "None"

查看:127
本文介绍了iOS模拟器始终将位置重置为“无”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调试位置感知应用,并对iOS模拟器感到沮丧。出于某种原因,每次我从Xcode运行我的应用程序时,位置设置(在调试菜单下)都会重置为无(来自自定义位置...)。

I'm debugging a location-aware app, and getting frustrated with the iOS simulator. For some reason every time I run my app from Xcode the Location setting (under the Debug menu) resets to "None" (from "Custom Location…").

任何人都知道如何防止这种情况?

Anyone know how to prevent this?

推荐答案

在你的项目中选择编辑方案并转到选项选项卡。编辑默认位置为您的比例。

In your project select edit scheme and go to the option tab. Edit default location to your liken.

检查 apple doc 用于其他可自定义的选项。如果要创建永久位置,请使用编辑器或在线生成器创建GPX文件

Check apple doc for other customizable option. If you want to create a permanent location create a GPX file with editor or online generator

这篇关于iOS模拟器始终将位置重置为“无”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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