Comment changer la couleur du texte 'chargement ...'?Comment changer la couleur du texte de Pull pour actualiser sur UITableView?
0
A
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;
Comment avez-vous le chargement de texte? Où avez-vous déclaré l'étiquette? Votre question est différente de ce que vous demandez. –
Désolé, je dois changer la couleur du texte 'loading ...' – Shadros
Comment avez-vous réglé le chargement du texte ...? Pourriez-vous nous fournir un code? –