Xcode 9把模擬器塞進全螢幕

Darren Wu
Darren Wu
Jul 20, 2017 · 2 min read

沒事多看看別人文章長姿勢

在開發的過程中,總是需要在Xcode跟模擬器之間進行各種操作

雖然編譯完之後模擬器會自動移動到最上方

但對於一個習慣全螢幕開著Xcode來開發的人來說還是挺不方便的

尤其是像想邊操作邊看console輸出的結果時就只能乖乖切回來

不過看了這篇的介紹

蘋果終於從Xcode9 Beta3開始支援把模擬器放進全螢幕模式了!!!

執行起來就像下圖這樣

可以放在左邊或是右邊,大小也可以自行拖曳調整

不過要這樣的功能需要先做點簡單的設定

(p.s.正常似乎是預設打開不用設定的,但我一開始沒有@@)

第一步打開Terminal輸入

sudo mkdir /AppleInternal

在根目錄創建一個AppleInternal的資料夾

接下來拿出你的模擬器

會發現功能欄上面多了一個選項叫做Internal

裡面有個Allow Fullscreen Mode把它勾起來

接下來就可以把模擬器塞進Xcode裡面摟

)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade