Change the default appearance of carrier name and its signal strength, wifi strength or (3G, 4G or 5G), clock time, battery level and network activity indicator when is visible.

In a UIViewcontroller I set:


navigationController?.navigationBar.barTintColor = .black


I would like to change the default appearance of the following:


Carrier name and its signal strength, wifi strength or (3G, 4G or 5G), clock time, battery level and network activity indicator when is visible.


Because with a black navigationBar barTintColor these are indistinguishable.


How could I do it?

Accepted Reply

I solve it by:


Adding to the info.plist:


View controller-based status bar appearance
to
NO


And select Light in Status Bar Style in Deployment Info.

Replies

I solve it by:


Adding to the info.plist:


View controller-based status bar appearance
to
NO


And select Light in Status Bar Style in Deployment Info.