Apples UIRefreshControl を使用する前は、次のように Refresh Control の下部にラベルを表示できました。
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;
カスタム アクティビティ インジケーターの ODRefreshControl に切り替えましたが、解決策が見つかりません。ODRefreshControl の私のコード (動作するためだけに):
ODRefreshControl *refreshControl = [[ODRefreshControl alloc] initInScrollView:self.tableView];
[refreshControl addTarget:self action:@selector(dropViewDidBeginRefreshing:) forControlEvents:UIControlEventValueChanged];