Skip to content
New issue

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

UITraitCollection.currentTraitCollection not updating correctly. #83

Open
jroselightricks opened this issue Nov 28, 2019 · 0 comments
Open

Comments

@jroselightricks
Copy link

Steps to reproduce:

  1. download the sample project darkModeProblems.zip
  2. pod install
  3. add a valid api key in AppDelegate.m
  4. run the app.
  5. note the logs are logging every second the currentTraitCollection
  6. press the button to present a UIDocumentInteractionController
  7. toggle dark mode

expected behavior:
UITraitCollection.currentTraitCollection should show return the correct values

actual behavior:
the currentTraitCollection get stuck on value it was at when the UIDocumentInteractionController was dismissed.

suspected reason:
I suspect that the SIOSocketWebView that is added to the main window is the cause, but I am not certain how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant