override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
super.touchesBegan(touches, with: event)
self.view.endEditing(true)
}
'iOS > Swift' 카테고리의 다른 글
[ios - swift] textfield return (0) | 2022.11.04 |
---|---|
[iOS - swift] 특정 문자열 변경 (0) | 2022.11.04 |
M1 ios Swift CocoaPods 에러 (0) | 2022.07.18 |
how to start UICollectionview with some position not 0 (0) | 2022.04.25 |
zoomable image pager with UICollectionView (swift) (0) | 2022.03.31 |