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
XHNeteaseNewsViewController.m中contentViewForPage:定义如下:
但是我再XHNewsContainerViewController.h中没有找到该方法,只存在:
我将XHNeteaseNewsViewController.m中contentViewForPage:替换成contentViewAtPage:后运行时发现顶部滑动banner消失
The text was updated successfully, but these errors were encountered:
@shift0106 嗯!这个是公开有点误导,现在修改过来了,具体看wiki文档里面的描述
Jack
Sorry, something went wrong.
No branches or pull requests
XHNeteaseNewsViewController.m中contentViewForPage:定义如下:
static NSString *identifier = @"XHContentView";
XHContentView *contentView = (XHContentView *)[self dequeueReusablePageWithIdentifier:identifier];
if (contentView == nil) {
contentView = [[XHContentView alloc] initWithIdentifier:identifier];
contentView.pullDownRefreshed = YES;
contentView.refreshControlDelegate = self;
}
if (!page)
contentView.tableView.tableHeaderView = self.scrollBannerView;
else
contentView.tableView.tableHeaderView = nil;
return contentView;
}
但是我再XHNewsContainerViewController.h中没有找到该方法,只存在:
我将XHNeteaseNewsViewController.m中contentViewForPage:替换成contentViewAtPage:后运行时发现顶部滑动banner消失
The text was updated successfully, but these errors were encountered: