iOS 6 UIRefreshControl – Pull To Refresh Like Mail App

2012-10-01

viewDidLoad:

self.refreshControl = [[UIRefreshControl alloc] init];   
[self.refreshControl addTarget:self action:@selector(refreshView:) forControlEvents:UIControlEventValueChanged];

Refresh:

- (void)refreshView:(UIRefreshControl *)sender {
//Refresh...
NSLog(@"Refresh");

[sender endRefreshing];
}

Source: http://stackoverflow.com/questions/12607015/uirefreshcontrol-ios-6-xcode