如何更改文本“正在加载...”的颜色?
最佳答案
尝试:
//the color of the background
self.refreshControl.backgroundColor = [UIColor purpleColor];
//the color of the spinner
self.refreshControl.tintColor = [UIColor whiteColor];
// the color of the label
NSString *title = @"loading...";
NSDictionary *attrsDictionary = [NSDictionary dictionaryWithObject:[UIColor whiteColor]
forKey:NSForegroundColorAttributeName];
NSAttributedString *attributedTitle = [[NSAttributedString alloc] initWithString:title attributes:attrsDictionary];
self.refreshControl.attributedTitle = attributedTitle;
关于ios - 如何在UITableView上更改Pull的文本颜色以刷新?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35631910/