🧐 (Xcode 13) 시뮬레이터상 키보드(아이폰/패드 키보드)가 안 보일 때
Storyboard에서 화면 위에 Text field를 올려놓고,
시뮬레이터로 테스트를 해보는데 아이폰 키보드가 시뮬레이터 위로 올라오지 않았다.
이는 맥북과 연결되어 있는 Hardware 키보드를 인식하도록 설정이 되어 있어서 그런 것이므로,
아래의 방법으로 해결할 수 있다.
[해결방법 1]
시뮬레이터에서 단축키 [⌘+K] 를 입력하면 바로 작동한다.
[해결방법 2]
1. 시뮬레이터의 상단 메뉴 -> I/O 메뉴 클릭
2. Keyboard -> "Connect Hardware Keyboard" 항목 체크 해제.
해결방법 출처:
https://stackoverflow.com/questions/24420873/xcode-6-keyboard-does-not-show-up-in-simulator
Xcode 6: Keyboard does not show up in simulator
The keyboard does not show up when I run the simulator and click in the UITextView. How do I re-enable the keyboard? It used to work but now it doesn't - I don't know what I might have clicked by
stackoverflow.com
'iOS(macOS) > Swift' 카테고리의 다른 글
[iOS/Swift] Safe Area 크기 가져오기 (iOS15~) (0) | 2022.09.14 |
---|---|
[iOS/Xcode 13] Rename - Outlet 변수 이름 수정 방법 (0) | 2022.08.15 |
[Swift/문법] 고차함수 (Higher-order function) (0) | 2022.08.11 |
[Swift/문법] 프로토콜 (Protocol) (0) | 2022.08.10 |
[Swift/문법] 익스텐션(Extension) (0) | 2022.08.10 |