Change Status bar color for non-UINavigationBar iOS

- (UIStatusBarStyle)preferredStatusBarStyle
{
return UIStatusBarStyleLightContent;
}
override func preferredStatusBarStyle() -> UIStatusBarStyle {
return UIStatusBarStyle.LightContent
}

--

--

--

iOS Developer, Triple graduated, Passionate, Love workout, blogger

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

iCloud class to copy and restore an app’s documents folder using swift.

The New Photos Picker In iOS 14 - Part 1

How to send POST and GET request?

The Composable Architecture — One of the Best-Suited Architectures for SwiftUI

iOS — Refactoring in Swift: Identifiers!

Review: iPhone app development — Monthly Wallet

Concatenate or merge arrays in Swift?

Add custom font in XCode for iOS app

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mr.Javed Multani

Mr.Javed Multani

iOS Developer, Triple graduated, Passionate, Love workout, blogger

More from Medium

MVVM-C Xcode Template to reduce development time

SwiftUI with Coordinator Flow Controllers

User Location With Core LocationUI in Xcode 13

[Swift] Struct vs Class