Basically, It handles safe area and background color across iOS. If you set it to NO then you can set the style in AppDelegate using: UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle. With React-Native-Smart-Status-Bar we try to make status bar consistent across both Android iOS. If you set it to YES then you should override preferredStatusBarStyle function in each view controller. In your ist you need to set “View controller-based status bar appearance” to a boolean value. I want to change the color of my device status bar if the internet is connected than the status bar color should turn Black and if the internet is not connected the color or status bar should turn Red so that it indicates wether internet is working or not during working with the application using SWIFT…help me out Question or problem in the Swift programming language:
0 Comments
Leave a Reply. |