Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios 13 后会无法运行,如下修改 #3

Open
SCSHICHUAN opened this issue May 3, 2023 · 0 comments
Open

ios 13 后会无法运行,如下修改 #3

SCSHICHUAN opened this issue May 3, 2023 · 0 comments

Comments

@SCSHICHUAN
Copy link

`- (UINavigationController *)navigationController {

UIWindow *window;

if (@available(iOS 13.0, *)) {
        window = [UIApplication sharedApplication].windows[0];
    } else {
        window = [UIApplication sharedApplication].delegate.window;
    }
return [self navigationControllerWithController:window.rootViewController];

}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant