From 93d14ff4e00b4f53d4eaf4364ff3782d2388406b Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Fri, 6 Nov 2026 05:12:18 -0800 Subject: [PATCH] docs: Add getVerticalBarEdgeIOS and useVerticalBarEdgeIOS for iPhone Duo Document the vertical bar APIs proposed in react/react-native#59237, which report the edge where iPhone Duo places the status bar. **Changes** - Add `getVerticalBarEdgeIOS()` and `useVerticalBarEdgeIOS()` to the StatusBar reference. NOTE: Merge after react/react-native#59237 lands. --- docs/statusbar.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/statusbar.md b/docs/statusbar.md index b0fead82c11..4fd94854857 100644 --- a/docs/statusbar.md +++ b/docs/statusbar.md @@ -291,6 +291,26 @@ The transition effect when showing and hiding the status bar using the `hidden` ## Methods +### `getVerticalBarEdgeIOS()`
iOS
+ +```tsx +static getVerticalBarEdgeIOS(): 'leading' | 'trailing' | null; +``` + +The edge of the vertical bar that holds the status bar. Returns `'leading'`, `'trailing'`, or `null` when there is no vertical bar, on other platforms, or before iOS 27.1. + +--- + +### `useVerticalBarEdgeIOS()`
iOS
+ +```tsx +function useVerticalBarEdgeIOS(): 'leading' | 'trailing' | null; +``` + +The edge of the vertical bar that holds the status bar, updated when it changes. Returns `'leading'`, `'trailing'`, or `null` when there is no vertical bar, on other platforms, or before iOS 27.1. + +--- + ### `popStackEntry()` ```tsx