Closed rechsteiner closed 3 months ago
Version 4.0 introduced a new and improved API for PageView in SwiftUI. Each page can now show define their own menu items, which can be any SwiftUI view. The new API also supports result builders, which allows you to easily setup your PageView.
PageView { Page("Title 1") { Text("Page 1") } Page { _ in Image(systemName: "star.fill") } content: { Text("Page 2") } }
Version 4.0 introduced a new and improved API for PageView in SwiftUI. Each page can now show define their own menu items, which can be any SwiftUI view. The new API also supports result builders, which allows you to easily setup your PageView.
Changes
Added
Fixes