Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kipsong133/585e5f9329198b2a4676ac4ea47a542f to your computer and use it in GitHub Desktop.
Save kipsong133/585e5f9329198b2a4676ac4ea47a542f to your computer and use it in GitHub Desktop.
[SwiftUI][floatingButtonButton][doneButon] 키보드 위에 버튼두기 #SwiftUI
.toolbar {
ToolbarItemGroup(placement: .keyboard) {
Spacer()
Button(action: {
keyboardFocused = false
}, label: {
Text("Done")
})
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment