Press ESC to close

Swift Wombat - Swift & SwiftUI knowledge base

How to add keyboard toolbar actions in SwiftUI

SwiftUI 3 brings additional, longly awaited functionality - the possibility to displays toolbar actions above the system keyboard. You probably expect that already, but adding views to the keyboard toolbar is also very easy. Let's take a look at a provided example....