2016-02-25 4 views

Répondre

2

Essayez:

//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

OK merci. Je peux changer l'image? – Shadros

+0

Désolé, j'ai fait une erreur avant, voir ma réponse éditée. Je cherche à changer l'image. – Picci