QLPreviewController Markup/Edit Mode background is white in Dark Mode

On iOS17, when the device is on Dark mode, the background of the Edit Mode in QLPreviewController has white color, instead of dark color. (like in the iOS18 betas)

We support both iOS17 and iOS18 and we want our users to have a consistent experience, so we think this should be aligned in iOS17, as it's currently working in iOS18 betas.

Steps:

  1. Set the device to Dark Mode.
  2. Present a QLPreviewController and preview an image.
  3. Enable Markup/Edit mode.
  4. Observe the image background

Actual Result: The background is in white color.

Expected Result: The background is in dark color. (Just like in iOS18 betas)

Xcode 16b3, All iPhones.

Filed Feedback: FB14538505

@lior_a Thanks for filling the bug report. Please continue to track the problem via the bug report.

QLPreviewController Markup/Edit Mode background is white in Dark Mode
 
 
Q