All Questions
28
questions
0
votes
0
answers
38
views
how to get statusBar in iOS 13+?
UIStatusBarManager *statusBarManager = [UIApplication sharedApplication].delegate.window.windowScene.statusBarManager;
if ([statusBarManager respondsToSelector:@selector(createLocalStatusBar)]...
3
votes
3
answers
3k
views
iOS 13 Status bar style invalid (childForStatusBarStyle never called)
I've been searching a lot, but didn't find the same problem as my on StackOverflow or anywhere else.
Setup
Info.plist
ViewControllerBasedStatusBar set to YES
StatusBarStyle set to .lightContent
...
1
vote
1
answer
1k
views
Hide statusbar in swift ui, when .statusbar(hidden: true) does not work or react
I have an app that loads a tabbar with a view as initial screen, RecipeList(). Inside of RecipeList I call another view to show a recipe full screen. In RecipeList file I have code to show or hide the ...
-2
votes
1
answer
44
views
How to change programatically top bar background swift 4 on iOS 13
I want to change the status and navigation bar from colored to transparent and from transparent to colored.
How can I do this?
enter image description here
1
vote
2
answers
74
views
What is the correct way to manage statusBarStyle in Swift?
I've tried adding key UIViewControllerBasedStatusBarAppearance to true inside info.plist file and then added the below code inside UINavigationController class which holds several UIViewController ...
1
vote
0
answers
326
views
IOS13 Status Bar Background Color doesn't change to transparent after being set
(IOS13) I am trying to implement the functionality that shows the navigation bar and status bar gradually after scrolling down the page (with the following code):
override func scrollViewDidScroll(_ ...
8
votes
4
answers
3k
views
preferredStatusBarStyle not getting called in iOS 13 and other
I have multiple UITabBar in my application and some ViewController has White color statusbar and some ViewController has black color statusbar.
My info.plist
View controller-based status bar ...
-1
votes
4
answers
790
views
How to hide the StatusBar in iOS13?
I want to customize a toast view which needs to hide the status bar. Before iOS 13, I get the status bar by .
But in iOS 13 it will crash. So is there some ways to get the status bar in iOS 13?
Or ...
1
vote
3
answers
227
views
How to hide status bar in swift?
I used the following code to hide the status bar and it works fine
But it works until I go to another page. That is, if I go to another page and go back, it won't work anymore
Does anyone know why?
...
0
votes
1
answer
135
views
iOS 13 navigationBar.barStyle
I'm applying the new appearance API for NavigationBar and I'm struggling with the status bar content (text). On Info.plist I forced to use the light mode because most of the app is white, but in one ...
2
votes
1
answer
730
views
Swift - Application crash due to statusBarWindows
We just updated our app on iOS 13, and app get crashed. Actually we are trying to get window object through statusBarWindow but at this point app get crashed and showing following error in log section....
1
vote
1
answer
401
views
How to hide status bar on a view
Before someone marks it duplicate, I want to say that I've seen all those answers and none helps me. Also they are donkey years old solution which don't work anymore.
I want to hide status bar only ...
0
votes
2
answers
218
views
How to hide status bar in ios13 in cocos-2dx
I was using
<key>UIStatusBarHidden</key>
<true/>
in info.plist file to hide status bar for ios. Also in my RootViewController.mm is
- (BOOL)prefersStatusBarHidden
{
return ...
0
votes
0
answers
68
views
On iOS 13 my app view show gray color view
My app is in objective c , It is quite old app. I want to hide top bar from screen, I have hide status bar but its view is still display.
I am not sure what is it and how to hide or change color of it....
1
vote
1
answer
663
views
Cannot hide status bar in IOS 13
In IOS 11 and 12 I have used
[[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"] valueForKey:@"statusBar"]
to hide the status bar by changing the height. In IOS 13 using ...