Notice
Recent Posts
Recent Comments
Link
반응형
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- Linux
- NSURLErrorDomain Code=-1022
- Apple Silicon
- sudo docker
- api service key error
- perfomance efficiency
- swiftm
- m4
- AppTransportSecurity
- service key is not registered error
- well architected
- ssh-remote
- Alamofire
- ubuntu-desktop
- SwiftUI
- 가상머신
- Docker Engine
- 6pillar
- M2
- M3
- Swift
- Arm
- swiftui keyboard dismiss
- codingkey
- 성능효율성
- aws database
- Alamofire.AFError.session Task Failed(error: Error Domain=NSURLErrorDomain Code=-1022
- ubuntu
- M1
- swiftui keyboard
Archives
- Today
- Total
목록swiftui keyboard (1)
behan의 개인적인 기술 블로그
SwiftUI) textfield 작성 후 버튼 클릭시 keyboard dismiss(hide, 숨기기)
#if canImport(UIKit) extension View { func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) } } #endif 생성 후 Button { locationSearchViewModel.fetchLocationSubject.send(location) hideKeyboard() } label: { Text("Search") } 버튼 action에 추가하면 keyboard 숨기기 가능
iOS/SwiftUI
2022. 4. 4. 21:39