iOS 7 UIRefreshControl tintColor not working for beginRefreshing

前端 未结 19 1723
我在风中等你
我在风中等你 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

    Solution for the tintColor issue: add this in viewDidLoad

    [self.refreshControl setTintColor:[UIColor whiteColor]];
    [self.refreshControl tintColorDidChange];
    

    Now you have a white indicator when you call beginRefresh manually.

提交回复
热议问题