Sephiroth87 / ODRefreshControl

A pull down to refresh control like the one in Apple's iOS6 Mail App
MIT License
2.15k stars 385 forks source link

How can i have a label to the bottom the the Refresher? #59

Open KyleGreenlaw opened 11 years ago

KyleGreenlaw commented 11 years ago

I would like to have something like this [ UIRefreshControl refreshControl = [[UIRefreshControl alloc] init]; [refreshControl addTarget:self action:@selector(addReceipt:) forControlEvents:UIControlEventValueChanged]; self.refreshControl = refreshControl; NSString s = @"Swipe Down to Add Receipt"; NSMutableAttributedString *a = [[NSMutableAttributedString alloc] initWithString:s]; [a addAttribute:NSForegroundColorAttributeName value:[UIColor darkGrayColor] range:NSRangeFromString(s)]; refreshControl.attributedTitle = a;]

for this Control