2

I usually use this trick to change the status bar text color with SwiftUI. But since iOS 15, the status bar color text is automatically set to black when I present a view with .fullScreenCover and I can't change its color. However, I still can change status bar text color on a navigation view.

Is there another way to change the status bar text color on View presented by .fullScreenCover on iOS15 ?

XCode Version: 13.0 (13A233)

iOS Version: 15.0

nelson PARRILLA
  • 498
  • 1
  • 6
  • 17
  • I think you might be looking for [modalPresentationCapturesStatusBarAppearance](https://developer.apple.com/documentation/uikit/uiviewcontroller/1621453-modalpresentationcapturesstatusb?language=objc) - I doubt there's native support for this in SwiftUI yet. – Claus Jørgensen Nov 02 '21 at 09:40

0 Answers0