반응형
📄 Close iOS Keyboard by touching anywhere using Source Code by Swift
// MARK: - Event Methods
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
self.view.endEditing(true)
}
🚀 REFERENCE
반응형
'# 애플 [Apple] > iOS' 카테고리의 다른 글
[iOS] UserDefaults (How to save user settings using UserDefaults) (0) | 2019.07.02 |
---|---|
[iOS] 부스트코스 - iOS 프로그래밍 (0) | 2019.06.30 |
[iOS] 기상청 (Korea Meteorological Administration) Grid XY (0) | 2019.06.27 |
[iOS] 진동 및 시스템 효과음 (Vibration and System Sound) (0) | 2019.06.27 |
[iOS] UITableView 셀 크기의 맞춰 높이 동적 설정 (Resizing UITableView to fit content) (0) | 2019.06.23 |
댓글