I use the import { SafeAreaView } from 'react-native';
iPhone X for the new development, but I get a boring shadow inside the area. How to remove it?
Image here
import { SafeAreaView } from 'react-native';
<SafeAreaView style={styles.safeArea}>
...
</SafeAreaView>
safeArea: {
flex: 1,
backgroundColor: colors.background,
},
UPDATE: I found out that there was probably some conflict with StackNavigator (with headerMode: "none"). When I don't have safeAreaView code in my code, the stacks hide the title correctly.
UPDATE 2: @ Julius Malidge, this is what I am. Tks
source
share