Ion-datetime gradiente white ios

when changing the background color of ion-datetime it gets this white gradient, does anyone know how to change the color of it? note, this only happens on ios.

date gradient

Ionic:

Ionic CLI : 6.18.1
Ionic Framework : @ionic/angular 6.0.12
@angular-devkit/build-angular : 13.0.4
@angular-devkit/schematics : 13.0.4
@angular/cli : 13.0.4
@ionic/angular-toolkit : 5.0.3

Capacitor:

Capacitor CLI : 3.4.0
@capacitor/android : 3.4.3
@capacitor/core : 3.4.0
@capacitor/ios : 3.4.0

Utility:

cordova-res : not installed globally
native-run : 1.5.0

System:

NodeJS : v16.13.2
npm : 8.1.2
OS : Windows 10

I managed to solve it by adding this to global.scss

ion-datetime{
  --background-rgb: 20,21,24 !important;
}