作为 this question 指出按两次cmd+shift+h或按两次home按钮将打开应用程序转盘,向上滑动将关闭应用程序。
然而,我发现自己多次按下它,旋转木马只出现了大约一半的时间。其他情况下,连续5次按就会显示出来。有时它只会转到主屏幕,只有当我再次进入应用程序并从那里开始操作时,它才起作用。我想知道,除了诉诸巫术,还有可靠的方法来解决这个问题吗?;-)
我正在和 react-native storybook 如果它有任何意义:
npm run storybook
我正在开发iPhone6 Plus模拟器,所以iPhoneX模拟器上扫对我来说不是一个选择。
xcrun simctl terminate [device name] [bundle id]
xcrun simctl terminate "iPhone 8 Plus" org.reactjs.native.example.layout"
"close": "xcrun simctl terminate \"iPhone 8 Plus\" org.reactjs.native.example.layout",
npm run close