2016-02-25 45 views

回答

2

嘗試:

//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; 
+0

好的謝謝。 我可以改變圖像? – Shadros

+0

對不起,我之前犯過一個錯誤,請參閱我編輯的答案。 我在尋找改變圖像。 – Picci