Hi, how do you guys adapt the notification status ...
# compose-ios
s
Hi, how do you guys adapt the notification status bar style according to the app's dark and light themes? I've noticed that iOS 16, 17, and 18 adapt it accordingly since I've added
.ignoresSafeArea(edges: .all)
on
ComposeView()
to draw app content behind them. However, the notification bar style in
iOS 15
does not adapt according to the app's content, making the content of the status bar invisible. Any idea how to fix it?
a
In older iOS there was no self-adapting status bar. You can override the preferredStatusBarStye to do so.
👍 1
s
Thanks! Yes, I used it, exposed a flow, listened to it in Swift code, and changed it accordingly. Thanks!!
🔥 1