MENU
DynamicColorIOS
The DynamicColorIOS function returns a color depending on the current system appearance.
RESETRUNFULL
import { DynamicColorIOS } from 'react-native';const customDynamicTextColor = DynamicColorIOS({
dark: 'lightskyblue',
light: 'midnightblue'});const customContrastDynamicTextColor = DynamicColorIOS({
dark: 'darkgray',
light: 'lightgray',
highContrastDark: 'black',
highContrastLight: 'white'});