From 41daf1671fd663c2eea597bf07e9ea2617bedf07 Mon Sep 17 00:00:00 2001 From: Alan Lee Date: Mon, 23 Jun 2025 21:43:52 -0700 Subject: [PATCH] add deprecation note for SafeAreaView --- docs/safeareaview.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/safeareaview.md b/docs/safeareaview.md index 16c3acdd33b..c93bf08b733 100644 --- a/docs/safeareaview.md +++ b/docs/safeareaview.md @@ -3,6 +3,8 @@ id: safeareaview title: SafeAreaView --- +> **Deprecated.** Use [react-native-safe-area-context](https://github.com/AppAndFlow/react-native-safe-area-context) instead. + The purpose of `SafeAreaView` is to render content within the safe area boundaries of a device. It is currently only applicable to iOS devices with iOS version 11 or later. `SafeAreaView` renders nested content and automatically applies padding to reflect the portion of the view that is not covered by navigation bars, tab bars, toolbars, and other ancestor views. Moreover, and most importantly, Safe Area's paddings reflect the physical limitation of the screen, such as rounded corners or camera notches (i.e. the sensor housing area on iPhone 13).