Created
October 13, 2020 16:21
-
-
Save ivangodfather/44878947ddad136ff5b1ba6833140185 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
var body: some View { | |
TabView() { | |
Text("Hello") | |
.onAppear { | |
print("multiple times called") | |
} | |
Text("Other") | |
} | |
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .automatic)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment