ReviewOS

also looking at this

craft-native/craft

test(ios): cover solid navigation bar title modes

#361
Closed glennmichael123 wants to merge codex/issue-360-solid-navigation-bar into main
3 files +22 -1
docs/guides/native-stx.mdmodified+11-0
Changes to docs/guides/native-stx.md
@@ -697,6 +697,17 @@ app, the iOS shell's gesture also covers the WebView. Pass
697697gesture of its own; native screens can still opt out independently with
698698`tabSwipeEnabled`.
699699
700On iOS, a native screen can opt into an opaque navigation bar that uses its
701screen background, including the light/dark variant from `craft.config.json`:
702
703```js
704craft.navigation.setOptions({ navigationBarSolid: true })
705```
706
707This applies to both standard and large-title bars, and remains in place while
708the screen is pushed, popped, or revealed by a tab swipe. The default remains
709UIKit's translucent material; pass `navigationBarSolid: false` to restore it.
710
700711A screen's content stays inside the safe area. To colour the strips under the
701712status bar and the home indicator too, such as a black full-screen timer with
702713the bar hidden, set `craft.navigation.setOptions({ hidden: true,