I want to write an application where I need to know whether the device is in "grayscale" or normal mode.
CodePudding user response:
You can check it using UIAccessibility.isGrayscaleEnabled . Check the full documentation here.

I want to write an application where I need to know whether the device is in "grayscale" or normal mode.
CodePudding user response:
You can check it using UIAccessibility.isGrayscaleEnabled . Check the full documentation here.