Reading time: 2 min

This recipe shows how to style a TabView in SwiftUI - change its background color, text and icon colors and styles, as well as changing the badge coloring. This solution works on all SwiftUI and iOS versions. The end result looks like this:

preview

The recipe goes as follows:

  1. Set icon, text and...

Continue Reading...

Reading time: 1 min

This recipe shows how to implement a Pager View using a TabView in SwiftUI. This is an awesome addition in iOS 14.0, allowing you to trivially create a swipeable pager.

The end result looks like this:

ezgif-2-74be83381405

We already have a recipe for Pager / Swiper view in SwiftUI that also works on iOS 1...

Continue Reading...