0

Whenever I present a view controller (eg UIAlertViewController, UIViewController) in this Chat ViewController, all the colors in the Chat ViewController turn to grayscale.

I do not want this to happen. I would like the colors to remain the same, as they normally do when presenting another ViewController.

Chat ViewController normally

Chat ViewController when another ViewController is presented

On other parts of my app, the colors of the presenting ViewController do not change upon presenting a ViewController—it's just this screen.

This Chat ViewController is a subclass of the base class ViewController in MessageKit. I believe there is something under the hood in MessageKit that is causing this, but I cannot find out what.

Plato
  • 111
  • 2
  • 7
  • 3
    https://developer.apple.com/documentation/uikit/uiview/1622555-tintadjustmentmode – matt Feb 12 '23 at 01:37

0 Answers0