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

这个方法是私有方法么?会影响上架么?? #57

Open
JMZone opened this issue Jul 3, 2023 · 3 comments
Open

这个方法是私有方法么?会影响上架么?? #57

JMZone opened this issue Jul 3, 2023 · 3 comments

Comments

@JMZone
Copy link

JMZone commented Jul 3, 2023

  • (void)_clearBackForwardList {
    #pragma clang diagnostic push
    #pragma clang diagnostic ignored "-Warc-performSelector-leaks"
    SEL sel = NSSelectorFromString([NSString stringWithFormat:@"%@%@%@%@", @"_re", @"moveA", @"llIte", @"ms"]);
    if ([self.backForwardList respondsToSelector:sel]) {
    [self.backForwardList performSelector:sel];
    }
    #pragma clang diagnostic pop
@wjiuxing
Copy link
Contributor

目前没有影响

@hu5980
Copy link

hu5980 commented Nov 3, 2023

这个 方法 清理了 访问的记录 ,但是 重新打开 H5 页面的时候 ,也会有问题 无法 执行 goback

@JMZone
Copy link
Author

JMZone commented Nov 6, 2023

@hu5980 大佬,请问有解决这个无法执行goback的问题么?

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

3 participants