PhotosPicker selection badges initially appear blue, then change to the correct tint after backgrounding

Hello Apple Developer Team,

I’m developing an iOS camera app called 1/250 using SwiftUI and the system photo picker (PhotosPicker).

I’ve encountered an issue where the photo picker’s selection badge colors are inconsistent between the initial presentation and returning from the background.

Steps to Reproduce

  1. Open the app and present PhotosPicker.
  2. Select multiple photos.
  3. The numbered selection badges (1, 2, 3, etc.) appear in the default system blue, despite the app using yellow as its accent color.
  4. Send the app to the background without dismissing PhotosPicker.
  5. Return to the app.
  6. The same selection badges now appear in the correct yellow color.

Expected Behavior

The numbered selection badges should use the app’s yellow tint color consistently, including when PhotosPicker is first presented.

Actual Behavior

  • Initial presentation: Blue selection badges.
  • After backgrounding and returning: Yellow selection badges.
  • No changes to the selected photos or app settings are required.

Questions

  1. Is this a known issue with SwiftUI PhotosPicker or its underlying UIKit implementation?
  2. Why would the tint color be applied correctly only after the app returns from the background?
  3. Is there a recommended way to ensure the correct tint is applied before the picker is first displayed?
  4. Is there an Apple-supported workaround that avoids recreating or replacing the system photo picker?

I would prefer to continue using Apple’s native PhotosPicker rather than implementing a custom photo selection interface.

Any guidance from Apple engineers would be greatly appreciated.

Thank you!