ios - Strange media player overlay iPhone main screen - Stack Overflow

admin2025-04-04  0

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.

The app does not use storyboard, the code:

(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

UIWindow *window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]];

mainMenuViewController = [[MainMenuViewController alloc] init];

navigationController = [[UINavigationController alloc] initWithRootViewController: mainMenuViewController];

window.rootViewController = navigationController;

self.window = window;

[self.window makeKeyAndVisible];

return YES;

}

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1743736581a216872.html

最新回复(0)