Hello, I don't use the storyboard for this specific screen . We are doing the everything programmatically. We have a xib for the screen with the same name of the view controller . So when we do
let playerVC = PlayerViewController()
self.present(playerVC, animated:true, completion: nil)
Basically we have not touch on the XIB since October 2020, and back then everything worked perfectly fine.
Also I did start doing some crazy test and if I run this code (below) with internet connection it works fine. The moment I turn of the internet connection and launch the app , it crashes.
let nav1 = UINavigationController()
nav1.navigationBar.barTintColor = UIColor.black
nav1.navigationBar.titleTextAttributes = [.foregroundColor: UIColor.white]
nav1.viewControllers = [PlayerViewController()]
self.window!.rootViewController = nav1
self.window?.makeKeyAndVisible()
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: