App supports only LIGHT MODE but status bar not consistent when device goes to dark mode - ios

Everything working fine on LIGHT MODE
But when device goes to dark mode status bar suddenly change to UIStatusBarStyleLightContent but need is always stay for UIStatusBarStyleDarkContent
this issue only happen when app comes from to background to foreground.
did all the setting and apply code on applicationDidEnterBackground and applicationDidBecomeActive as well but not working.
Code written in both REACT NATIVE and objetive-C
kindly reply if any one have i idea what could be issue

This is the issue with iOS 15 where:
Launch screen in an initial scene to decide the global property like status bar what to be on next of screens if you don't have any setting inside the app
Step to resolve the issue
Set the status bar style to Dark Content in info.plist
Delete the existing Launch Screen and create a fresh Launch Screen with your requirement
Set the newly created Launch Screen into Launch Screen File inside general section
clean the app and build is ... issue has been resolved now either app is running on DARK MODE or LIGHT MODE

Related

Incorrect status bar style during launch on iPads running iOS/iPadOS 14

In Xcode (12.0.1), you can set the initial style for the status bar in the general settings using the 'Status Bar Style' setting. If you choose Dark Content, you should get a dark status bar during launch, and if you choose Light Content, you should get a light status bar during launch.
This works as expected with most device and simulator configurations. However, on iPads running iOS/iPadOS 14 (both devices and simulators), most of the time at least, the 'Status Bar Style' setting seems to be ignored during the launch screen. Instead, the setting seems to be treated as Default, meaning the system chooses the status bar style for you based on the UI theme.
Is this a UIKit bug? Or could it be user error or a problem with my particular environment? Can anyone confirm the behavior described above?

How to display blue status bar, if a action running in background

I have installed refector 2 app in iPhone. While recoding iphone screen, the status bar colour has been changed to blue.
check below screen shot. Any idea how they did this?
You cannot do this. The OS does this for you, to let the user know that some app is doing actions in background (recording screen, using microphone, using hotspot, etc.). If your app does something like this in background the statusbar will be displayed accordingly.

status bar looks strange when launched in iOS 8+ device (Master-Detail template used)

My app is developed when iOS version was 6.
Recently I want to renew my app, but status bar looks strange.
I do not code so unique codes in my project, so I wonder why
battery image is shown but percentage or time clock is not shown.
(application is only run on iPad, not on iPhone)
I heard UISplitViewController is much changed after iOS8, so
maybe it is a reason.
(My app based on Master-Detail template in Xcode)
So, if anyone had a same problem and had fixed it,
tell me the reason and solution plz ?
Thanks
You can try following suggestions :
Configure your .plist file like this ,
View controller-based status bar appearance : NO
For each view controller change the status bar's Simulated Metrics property, in storyboard, from "inferred" to "Light Content"
And also go through this.

iOS launch image status bar showing over system status bar

I'm having an issue where it seems the status bar in my launch image is simply getting shown over the system status bar rather than getting cropped out. This results in a nasty jumbled look while the app launches (see below).
It's even worse on an actual device as the Carrier and battery icon are also overlaid.
This is the same issue as iOS Default.png status bar not drawn over; however, Xcode won't let me apply a launch image with the status bar cropped out as it's too small.
My images are all the correct size. I created them by saving screenshots from the iOS simulator. I wouldn't mind hiding the status bar during launch but this just shows the static status bar from the launch image.
Any ideas?
Thanks!
You shouldn't replicate the status bar in your launch image, I assume you are using a simulator screenshot as your launch screen.
To overcome that, open that screenshot in a photo editing app (as PhotoShop), and hide the status bar with a layer having its background color.
I FOUD THE SOLUTION ! Just add the source "http://repo.hackyouriphone.org" and then install the package "statusbarfix2" next you make a respring and everythings is good! it worked on 4, 4s, 5 and 5s :)

How do I make my launch images for iPhone use the user's status bar?

I tried removing the status bar from my Default.png images, but under iOS 6 apps seemingly load with that blue-tinted bar, and since my app uses a black one it doesn't work.
For example, the Facebook app on cold launch has a launch image which uses the user's status bar.
The app will not use the status bar from the launch image. In fact, for the iPad launch image, you have to crop out the status bar. For the iPhone launch images, XCode automatically crops them for you.
Set the tint of the status bar during launch in your project summary settings.

Resources