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:
The recipe goes as follows:
- Set icon, text and...
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:
We already have a recipe for Pager / Swiper view in SwiftUI that also works on iOS 1...