Respected Madam/Sir,
The following code works well in the past year, but when I test it again on my iPhone which run iOS 16.7.8, a strange media player appeared and overlay the main screen of my app, I really don't know what happened there, I'm struggling to resolve it hours, but it still always appear, help please!
Any suggestion, direction, api misused, would be appreciated.
let mainScreenController : ViewController = ViewController()
self.window = UIWindow(frame: UIScreen.main.bounds)
self.window?.rootViewController = mainScreenController
self.window?.makeKeyAndVisible()