如何重置iPhone模拟器 [英] How to reset iPhone simulator

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

问题描述

我的应用使用了位置服务。为了测试用户在模拟器要求访问位置服务的权限时按下不允许时发生的事情(当应用程序第一次启动时)我需要重置模拟器。这是因为问题在开发过程开始时得到了回答。所以不再问问题了。

My app uses the location service. To test what is happening when the user presses 'Don't allow' when the simulator asks for the permission to access the location service (when the app is started for the first time) I need to reset the simulator. This because the question was answered at the beginning of the development process with allow. So no more questions are asked.

使用重置内容和设置...重置模拟器不会在开始时回复问题。我做错了什么?

Resetting the Simulator with "Resetting Content and Settings.." don't bring back the question at the start. What I am doing wrong?

推荐答案

在iPhone / iPad模拟器中,转到顶部菜单并选择模拟器 - >重置内容和设置...

Within the iPhone/iPad simulator, go to the top-menu and select "Simulator" -> "Reset Content and Settings..."

(在模拟器的早期版本中,顶级菜单条目标签是iOS模拟器

(In earlier versions of the simulator the top menu entry label was "iOS Simulator"

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

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