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];
請告訴我有關問題的問題 –
老兄,這太棒了 –