when i refresh the table then its is no refresh and not show the circle on the screen . This is my code:-
refreshControl = [[UIRefreshControl alloc]init];
[self.tableHolidays addSubview:refreshControl];
[refreshControl addTarget:self action:@selector(refreshTable) forControlEvents:UIControlEventValueChanged];
- (void)refreshTable {
[refreshControl endRefreshing];
[self.tableHolidays reloadData];
}