Skip to content

Commit 20ca4d5

Browse files
committed
Merge branch 'main' into docs/ui
2 parents 3a64c03 + 58704a9 commit 20ca4d5

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

content/project-structure/app-resources.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,25 @@ If you enable `android:forceDarkAllowed` make sure you check if all the screens
226226

227227
## iOS specific resources
228228

229-
Most things on iOS are controlled directly through the app's template code.
229+
Most things on iOS are controlled directly through the app's template code however you can change the status bar style between dark (black text) or light (white text) by adding the following to your app's App_Resources/iOS/ Info.plist:
230+
231+
- Use white text on dark background:
232+
233+
```xml
234+
<key>UIStatusBarStyle</key>
235+
<string>UIStatusBarStyleLightContent</string>
236+
<key>UIViewControllerBasedStatusBarAppearance</key>
237+
<false/>
238+
```
239+
240+
- Use black text on light background:
241+
242+
```xml
243+
<key>UIStatusBarStyle</key>
244+
<string>UIStatusBarStyleDarkContent</string>
245+
<key>UIViewControllerBasedStatusBarAppearance</key>
246+
<false/>
247+
```
230248

231249
### Adding custom entitlements
232250

0 commit comments

Comments
 (0)