I am IOS developer and working on setup dark and light mode for app
I am checking current style by following method self.window.overrideUserInterfaceStyle in appdelegate for check current set mode but i am always getting UIUserInterfaceStyleUnspecified in return
I have set dark mode in device setting but still i am getting UIUserInterfaceStyleUnspecified
What i am missing here ?
Can anybody help ?