0

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 ?

Anita Nagori
  • 707
  • 1
  • 7
  • 21
  • It's not dublicate , here i am not asking how to check dark and light mode , here i am saying that i am always return unspecified mode even i have set dark mode. – Anita Nagori Nov 18 '22 at 15:05

0 Answers0