Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EN]How to Fullscreen Xcode and Simulator?[CN]如何让 Xcode10 与模拟器同时进入分屏模式? #22

Open
ChenYilong opened this issue Mar 13, 2019 · 1 comment
Labels

Comments

@ChenYilong
Copy link
Owner

ChenYilong commented Mar 13, 2019

源地址:https://www.weibo.com/1692391497/Hkpc4iStj

《如何让 Xcode10 与模拟器同时进入分屏模式》因为模拟器默认不支持全屏,所以没法跟 Xcode 一起分屏,断点时候屏幕跳来跳去就很烦,不过下面的操作可以开启模拟器的全屏支持。
Xcode9 上分屏模式的命令,在 Xcode10 上已经不奏效了,原因跟显示器没关系。在 Xcode10 上必须要先禁用系统的 SIP 功能才可以实现。
所以这个 feature 应该是Apple的 A/B-Testing,估计会在将来放开。
视频里演示了步骤。Apple 在 Xcode10 去掉了 Xcode9 上隐藏菜单 Internal 和手动开启模拟器分屏选项的显示,但按照视频这个操作可以自动开启分屏模式。用到的命令按顺序分别是:
$ csrutil disable
$ sudo mkdir /AppleInternal
$ defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES
$ csrutil enable

这个和iPad的分屏有点像,除了Xcode的,其他的可以分屏的也行。只要是可以全屏模式的,理论上都可以。本操作主要是开启模拟器的全屏模式。

点此查看视频

@xww1993
Copy link

xww1993 commented Apr 2, 2019

🐂🍺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants