As i need to make Nav Bar transparent, Everything works fine But now NavBar Items are getting fade.
How can it be manage?
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationItem.title = "Property Details"
self.navigationController?.navigationBar.titleTextAttributes = [NSAttributedStringKey.font: UIFont.systemFont(ofSize: 16, weight: UIFont.Weight.bold)]
self.navigationController?.navigationBar.tintColor = UIColor.black
self.navigationController?.navigationBar.alpha = 0.5
}
See Question&Answers more detail:os