You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem Description: #170 added Dark Mode support in a simplistic manner: If running on iOS 13, use whatever color is provided by the operating system for the Dynamic Color systemBackground
If an App opts out of Dark Mode support by setting User Interface Style to .light in Info.plist, the dynamic colors match the old behavior. But it is also valid to honor Dark Mode and opt out for individual view controllers and their children.
Unfortunately, setting overrideUserInterfaceStyle = .light or passing a new UITraitCollection to new Window or ViewController does not change the definition of Dynamic Colors, when Dark Mode is enabled systemBackground is always black.
Suggestion:
easy - update BltnItemManager to take a (default nil) UITraitCollection
better - add backgroundColor and defaultActivityIndicatorColor to BLTNItemAppearance, update BltnItemManager to take an optional BltnInterfaceManager, and use the interfaceManager for both setting up the main card view, as well as passing it through to makeArrangedSubviews()
Thoughts?
The text was updated successfully, but these errors were encountered:
Problem Description:
#170 added Dark Mode support in a simplistic manner: If running on iOS 13, use whatever color is provided by the operating system for the Dynamic Color
systemBackground
If an App opts out of Dark Mode support by setting User Interface Style to .light in Info.plist, the dynamic colors match the old behavior. But it is also valid to honor Dark Mode and opt out for individual view controllers and their children.
Unfortunately, setting
overrideUserInterfaceStyle = .light
or passing a new UITraitCollection to new Window or ViewController does not change the definition of Dynamic Colors, when Dark Mode is enabledsystemBackground
is always black.Suggestion:
backgroundColor
anddefaultActivityIndicatorColor
to BLTNItemAppearance, update BltnItemManager to take an optional BltnInterfaceManager, and use the interfaceManager for both setting up the main card view, as well as passing it through to makeArrangedSubviews()Thoughts?
The text was updated successfully, but these errors were encountered: