We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the HPageView with sperate views, it works as expected:
HPageView(selectedPage: $pageIndex) { Color.red Color.green Color.blue }
But when trying to use ForEach, the PageView looks strange and only has one page indicator dot:
HPageView(selectedPage: $pageIndex, theme: pageTheme) { ForEach(0..<2) { n in Text("Number \(n)") } }
The text was updated successfully, but these errors were encountered:
ForEach-like init was added in release 1.5.0
Sorry, something went wrong.
No branches or pull requests
When using the HPageView with sperate views, it works as expected:
But when trying to use ForEach, the PageView looks strange and only has one page indicator dot:
The text was updated successfully, but these errors were encountered: