admin管理员组

文章数量:1344170

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;

}

本文标签: iosStrange media player overlay iPhone main screenStack Overflow