It is a way to hide the keyboard with a button in SwiftUI. It is realized by extending UIApplication.
Hide keyboard with buttons in SwiftUI
- Create a sequential numbered array in Swift
- Detect keyboard height and appearance with SwiftUI
- Input a multi-line string with SwiftUI
- Show picker from bottom with SwiftUI
- Using UIImagePickerController with SwiftUI
- Do not change the color of the Image in the Button with SwiftUI
- I tried all the ModalPresentationStyle of iOS 13