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 18.1.1 I can't get "browsingContextController Controller" #87

Open
Hornet-H opened this issue Nov 28, 2024 · 0 comments
Open

iOS 18.1.1 I can't get "browsingContextController Controller" #87

Hornet-H opened this issue Nov 28, 2024 · 0 comments

Comments

@Hornet-H
Copy link

Hornet-H commented Nov 28, 2024

Hi,bro!Please take a look!

  • (void)KKJSBridgeRegisterScheme:(NSString *)scheme {
    Class cls = KKJSBridge_WKWebView_ContextControllerClass();
    SEL sel = KKJSBridge_WKWebView_RegisterSchemeSelector();
    if ([(id)cls respondsToSelector:sel]) {
    #pragma clang diagnostic push
    #pragma clang diagnostic ignored "-Warc-performSelector-leaks"
    [(id)cls performSelector:sel withObject:scheme];
    #pragma clang diagnostic pop
    }
    }

cls = nil,cause scheme cann‘t register

Xcode version 16.1

@Hornet-H Hornet-H changed the title iOS 18.1.1 browsingContextController 获取不到 iOS 18.1.1 I can't get "browsingContextController Controller" Nov 28, 2024
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