Texture
Texture copied to clipboard
Dark Mode not working with Texture
UIApplication.shared.windows.forEach { window in window.overrideUserInterfaceStyle = UIUserInterfaceStyle.currentMode } This code working for UIKit fine but when i go to Texture Classes like ASViewController/ASDisplayNode it stopped working If i toggle mode using system setting then it works fina
how abut using?:
UIColor(dynamicProvider: { (trait) -> UIColor in return trait.userInterfaceStyle == .dark ? UIColor(red: 0.35, green: 0.35, blue: 0.35, alpha: 1.00) : .white })