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
使用过程中,如果标签页比较多 比如10个,一个一个滑到最后,然后在滑回来,发现前面的vc的viewdidload方法重新走了一遍
The text was updated successfully, but these errors were encountered:
实验发现 这样写是没问题的
(UIViewController *)DLCustomSlideView:(DLCustomSlideView *)sender controllerAt:(NSInteger)index{
if ([_vcs[index] isKindOfClass:[UIViewController class]]) { return _vcs[index]; }
CommunityChildVC *childVC = [[CommunityChildVC alloc]init]; [_vcs replaceObjectAtIndex:index withObject:childVC]; return childVC; }
Sorry, something went wrong.
缓存默认是缓存4个页面,这个可以改源码,也可以自己设计缓存策略。
No branches or pull requests
使用过程中,如果标签页比较多 比如10个,一个一个滑到最后,然后在滑回来,发现前面的vc的viewdidload方法重新走了一遍
The text was updated successfully, but these errors were encountered: