450 questions
1
vote
1
answer
66
views
Setting StatusBar dynamically using statusBarManager
This question Swift: Setting StatusBar color on IOS13+ (Using statusBarManager) has a very good answer on how to set the statusbar text color to dark or light for the whole app or for a ...
0
votes
0
answers
29
views
Can we change statusbar and bottom bar background color in react native ? because its depricated in ios and will be in android
for Now am using an overlay positioned -100 top for statusbar and -100 bottom for bottombar as mentioned below:
it looks not good but can be temporary solution
import { Dimensions, ImageBackground, ...
1
vote
0
answers
844
views
Can I use ESP32-S3 as USB HUB or USB HOST for USB data communication?
I have a system consisting of a computer and various sensors. The sensors have a USB communication interface. I want to design GPIO and communication card between computer and sensors. I want to read ...
2
votes
1
answer
776
views
iOS 16 text in status bar is white even when UIStatusBarStyle is set to DarkContent
Problem
Currently I'm developing an application and on iOS 16 the text color of the statusbar is often white while the background color of the customized header has a light color. In the code of the ...
0
votes
2
answers
337
views
Status bar become black after another ViewController appears
I have issue with Navigation Controller inside TabBarController. I have 5 view controllers and 3 of them have navigation bar. I need to make white status bars of all of this 3 VC. And i can do it with
...
13
votes
2
answers
3k
views
iOS: Specify status bar text color when using UINavigationBarAppearance now barstyle is ignored
Problem
I have an app that has different colour navigation bars for different flows. Some navigation bars have a light background and require black status bar text. Others have a darker navigation bar ...
3
votes
0
answers
301
views
UIStatusBarAnimation style .slide not working in iOS 15
Following with the UIViewController worked until iOS 15. Status bar animated with the 'slide' method. Now it just fades away.
self.setNeedsStatusBarAppearanceUpdate()
override final var ...
0
votes
2
answers
4k
views
Warning message on statusBarStyle on set lightContent
How to resolve this issue warning issue
UIApplication.shared.statusBarStyle = .lightContent
Warning Messages
'statusBarStyle' was deprecated in iOS 13.0: Use the statusBarManager property of the ...
1
vote
2
answers
1k
views
iOS15 UINavigationBarAppearance hide battery / time icons (UIStatusBarStyle)
On iOS15 I was no longer able to set as black
UINavigationBar.appearance().tintColor = .white
UINavigationBar.appearance().barTintColor = UIColor(hexString: "#000000")
UINavigationBar....
1
vote
1
answer
181
views
SLOT for statusbar->messageChanged() QT
I've problem with QT statusbar. I want to recive and process changeMessage from statusbar, bo I have problem with slot. How I should write correct slot or how to use connect function correct, with ...
-1
votes
2
answers
138
views
Can not override the preferredStatusBarStyle
In dark mode style, the status bar disappear cause of dark color.
I added the:
override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent
}
but the problem is, ...
0
votes
1
answer
1k
views
Changing status bar colour in React Native
In React Native, I'm trying to set the status bar to 'light-content' so it is more visible against the darker background. To do so I used , however when I ran the code I got the following error:
...
3
votes
1
answer
2k
views
How to change the color of status bar to a custom color other than light and dark in iOS 14, Swift 5?
I want to change the color of status bar (battery percentage, time and wifi, etc) to a custom color (red, yellow, blue, etc) other than .lightContent and .darkContent that Apple offers. Is that even ...
3
votes
0
answers
87
views
Hiding/showing status bar makes navigation bar jump down [duplicate]
I have a UIViewController (CameraViewController) and a UINavigationController (ListsNavController). They are embedded inside another view controller, MasterViewController, like this:
class ...
1
vote
1
answer
919
views
How can I ensure iOS 13 modal view controllers present the right status bar colour?
With the new iOS 13 view controller changes, view controllers are being presented that don't cover the whole screen. They instead leave a black space at the top. However, the system status bar is not ...