UIView *bgView = [[UIView alloc] initWithFrame:CGRectOffset(self.collectionView.bounds, 0, -self.collectionView.bounds.size.height)];
bgView.backgroundColor = kMainColorOfApp;
[self.collectionView insertSubview:bgView atIndex:0];
UIView *bgView = [[UIView alloc] initWithFrame:CGRectOffset(self.collectionView.bounds, 0, -self.collectionView.bounds.size.height)];
bgView.backgroundColor = kMainColorOfApp;
[self.collectionView insertSubview:bgView atIndex:0];
本文标题: 下拉刷新背景色设置
本文链接:https://www.haomeiwen.com/subject/ucwvwxtx.html
网友评论