Beide App-Plattformen sind in der Technologie- und Entwicklungsbranche weit verbreitet.
import { Platform, StyleSheet } from 'react-native';
const styles = StyleSheet.create({ container: { flex: 1, …Platform.select({ ios: { backgroundColor: ‚red‘ }, android: { backgroundColor: ‚green‘ } }) } });