iOS 7 UIRefreshControl tintColor not working for beginRefreshing

前端 未结 19 1716
我在风中等你
我在风中等你 2020-12-04 13:48

I\'m trying to set a tintColor on my UIRefreshControl (building on iOS 7). I enabled refreshing for the tableViewController in storyboard, then in my ViewController vi

19条回答
  •  难免孤独
    2020-12-04 14:25

    i found some Work Around i hope it works for you

     [_TBL setContentOffset:CGPointMake(0,_TBL.contentOffset.y-_refreshControl.frame.size.height) animated:YES];
    [_refreshControl performSelector:@selector(beginRefreshing) withObject:nil afterDelay:0.25];
    [self getLatestUpdates];
    

提交回复
热议问题