-
Notifications
You must be signed in to change notification settings - Fork 579
Open
Description
The app crashed when I try to run:
"UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:_viewController];
[self.window setRootViewController:nav];"
and the error message shows:
"Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CALayer pixelFormat]: unrecognized selector sent to instance 0x280263d20'"
I think there might be something wrong with the following part:
"uintptr_t windowHandle = reinterpret_cast<uintptr_t>(UIApplication.sharedApplication.delegate.window.rootViewController.view);"
Can you advise how to solve this problem?
Metadata
Metadata
Assignees
Labels
No labels
