在 Interface Builder 顯示鍵盤 — Xcode 14 新功能

從 Xcode 14 開始,我們在 Interface Builder 設計 App 時也能顯示鍵盤了,方法如下:

點選 view controller,切換到 Attributes inspector 頁面,找到 Simulated Metrics 下的 Keyboard 欄位。

將 Keyboard 欄位設為 On。

鍵盤出現了 ~

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store