Skip to content

Instantly share code, notes, and snippets.

struct MyPagerView: View {
...
..
.
var body: some View {
PagerTabStripView() {
MyHomeView(model: $homeModel).pagerTabItem {
MyNavBarItem(title: "Home", imageName: "home")
}.onPageAppear {
homeModel.reloadData()