2014-07-05 70 views

回答

0

對於您的信息,Apple不會在其對象庫中釋放refreshControl。 你可以簡單地用幾行簡單補充一點:

UIRefreshControl *refresher=[[UIRefreshControl alloc] init]; 
[refresher addTarget:self 
       action:@selector(refreshData) 
    forControlEvents:UIControlEventValueChanged]; 

[tableView addSubview:refresher]; 

哪裏refreshData是你的目標的方法做你想做的事有什麼。

相關問題