How To Add Buttons to the Navigation Bar in SwiftUI

preview_player
Показать описание
Learn how to add buttons and icons to the navigation bar in your SwiftUI app.

In this SwiftUI tutorial, we’ll cover:
How to use the toolbar modifier
How to use the ToolbarItem SwiftUI component
How to position the buttons on the left or right

Get started on building iOS apps with our free beginner course:

Article version of this tutorial:

For tutorials of other SwiftUI components, check out our playlist here:
Рекомендации по теме
Комментарии
Автор

I love the different placements, especially how I can add items to a bottom bar or the keyboard!

danielcrompton
Автор

Can we change navigationTitleBar font?.

wildanalifr