im trying to present my view controller and it is presenting fine, but status bar color seems having some shadow, see the attachment
But i require
What is the reason for that shadow, i even tried changing the status bar style and added view controller-based status bar appearance to true and tried with false to nothing works, Help me with this.
Method used for navigation
func navigationMethod() {
let pharmacyStoryboard = UIStoryboard(name: "Main", bundle: nil)
let copayCalculationVCidentifier = String(describing: ChangeViewCotnroller.self)
if let copayCalculationViewController = pharmacyStoryboard.instantiateViewController(identifier: copayCalculationVCidentifier, creator: { coder in
let copayCalculationVC = ChangeViewCotnroller(coder: coder)
return copayCalculationVC
}) as? ChangeViewCotnroller {
present(copayCalculationViewController, withModelStyle: .automatic, animated: true, completion: nil)
}
}

