0
这是我在worldview方法中的刷新控件。当收集视图在ios中没有数据时,拉到刷新不能在收集视图中工作
self.colView.refreshControl = [[UIRefreshControl alloc] init];
self.colView.refreshControl.backgroundColor = [UIColor purpleColor];
self.colView.refreshControl.tintColor = [UIColor whiteColor];
[self.colView.refreshControl addTarget:self
action:@selector(refresh)
forControlEvents:UIControlEventValueChanged];
请告诉我有关问题的问题 –
老兄,这太棒了 –