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
Hello,
I was trying to use your sample of Information+Selection in an iPad app, and I realized that the controller yearMonth is changing on device rotation.
Same thing happens on the sample project without any modification.
It is noticeable looking at the first day of the month.
The text was updated successfully, but these errors were encountered:
It's a known problem of the tabview, during rotation the tabview rerenders again and change the selected tab. Possible workaround:
.onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { info in let currentTab = selectedTab DispatchQueue.main.async { if currentTab != selectedTab { selectedTab = currentTab } } }
Sorry, something went wrong.
No branches or pull requests
Hello,
I was trying to use your sample of Information+Selection in an iPad app, and I realized that the controller yearMonth is changing on device rotation.
Same thing happens on the sample project without any modification.
It is noticeable looking at the first day of the month.
The text was updated successfully, but these errors were encountered: