在 Expo 中禁用 React Native App 的调试 [英] Disable Debugging in Expo For React Native App

查看:24
本文介绍了在 Expo 中禁用 React Native App 的调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我今天在 Expo 中打开了我的 react-native 应用程序(使用 iOS 模拟器),我正在创建一个看起来像调试覆盖的东西.

So I've opened up my react-native app in Expo today (using the iOS simulator) and I am creating by what looks like a debugging overlay.

此处的屏幕截图:

我不需要这个,它会阻止一些 UI 进行测试.

I don't need this and it's blocking some of the UI for testing.

如何关闭它?

推荐答案

您已打开 Element Inspector.要关闭它,请执行以下任一操作:

You have the Element Inspector open. To toggle it off do either:

  • ⌘+D如果你在模拟器中
  • 如果您使用的是实际设备,请摇晃手机

这应该会打开调试菜单.然后你可以点击 Toggle Element Inspector 来关闭它.

This should open up the debugging menu. You can then click on Toggle Element Inspector to close it.

这篇关于在 Expo 中禁用 React Native App 的调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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