2014-04-24 80 views

回答

1

這不是我的代碼,我發現它在一個月前的某個地方,它適用於我。

CGRect refreshFrame = self.tableView.bounds; 
refreshFrame.origin.y = -frame.size.height; 
UIView* refreshBackgroundView = [[UIView alloc] initWithFrame:refreshFrame]; 
refreshBackgroundView.backgroundColor = [UIColor redColor]; //<- Here you choose what colour you want 

[self.tableView insertSubview:refreshBackgroundView atIndex:0]; 
+0

謝謝你,但我想改變微調不是背景色的顏色 – ChikabuZ

相關問題