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
我的方法是: 在 layoutSubviews中添加一段 [_reusableCells removeAllObjects]; _visibleRange = NSMakeRange(0, 0); // 添加 的是下面这个for循环 for (UIView *view in _cells) { if ([view isKindOfClass:[UIView class]]) { [view removeFromSuperview]; } }
同时在改写:
然后在加载NewPagedFlowView的类旋转的方法中添加如下代码
The text was updated successfully, but these errors were encountered:
这个reload,您看最新的代码了吗?
Sorry, something went wrong.
适配问题没有考虑吧 在苹果5和6上左右间距是不一样的该怎么调呢
No branches or pull requests
我的方法是:
在 layoutSubviews中添加一段
[_reusableCells removeAllObjects];
_visibleRange = NSMakeRange(0, 0);
// 添加 的是下面这个for循环
for (UIView *view in _cells) {
if ([view isKindOfClass:[UIView class]]) {
[view removeFromSuperview];
}
}
同时在改写:
{
_needsReload = YES;
[self stopTimer];
[self setNeedsLayout];
}
然后在加载NewPagedFlowView的类旋转的方法中添加如下代码
if ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad) {
[coordinator animateAlongsideTransition:^(id context) {
[self.newPagedFlowView reloadData];
} completion:NULL];
}
}
The text was updated successfully, but these errors were encountered: