I'm using a storyboard for my Launch Screen File. It's a very basic setup:
I want to set an opaque colour for the navigation bar...
I can do something like the following in the AppDelegate:
[[UINavigationBar appearance] setBarTintColor:[UIColor redColor]];
But that doesn't apply to the launch screen file.
How do I set the nav bar colour / barTintColor
in Interface Builder?
Change the Bar Style A user changes the navigation bar's style, or UIBarStyle , by tapping the “Style” button to the left of the main page. This button opens an action sheet where users can change the background's appearance to default, black-opaque, or black- translucent.
Splash Screen is the very first screen the user sees when they open up an app on a mobile device. It's the very first chance of creating a positive impact on the users. It appears while the app is loading when the user has just opened up the app. Many times the Splash screen is called a launch screen.
Splash screen is commonly found in iOS apps, as well as, other desktop applications. This is the first screen you see when launching an application. Usually, splash screen is an image covering the entire screen and disappears after the main screen is loaded.
Bar tint is settable for a navigation bar in the Inspector as shown here.
Just checked it with a HOT PINK nav bar in my current project's LaunchScreen.xib and it works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With