Skip to content

Glossary: SwiftUI

.badge

Also written: badge

A modifier that puts a red count on a tab's icon. With a count of 0 nothing shows; it attaches to the Tab, not its content.

Where the book teaches it

Related terms

TabTabView