We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如题,因为项目需要,要用自己的NavigationController,push的时候会闪动一下,有什么解决方案吗?ths
The text was updated successfully, but these errors were encountered:
作者自己应该也不知道怎么解决。他的demo里也有问题。
Sorry, something went wrong.
同问!
闪动的问题应该是 push过程中对UIWebView调用loadRequest导致的 目前我这边的解决办法
viewDidLoad 中的 [self.webView loadRequest:[NSURLRequest requestWithURL:self.url]]; 移动到viewDidAppear中,延迟加载的方式来减少卡顿的不良体验 - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; [self.webView loadRequest:[NSURLRequest requestWithURL:self.url]]; }
[self.webView loadRequest:[NSURLRequest requestWithURL:self.url]];
- (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; [self.webView loadRequest:[NSURLRequest requestWithURL:self.url]]; }
No branches or pull requests
如题,因为项目需要,要用自己的NavigationController,push的时候会闪动一下,有什么解决方案吗?ths
The text was updated successfully, but these errors were encountered: