If I “pull to refresh” my UITableViewController quick finger movement (instead of slow drag and drop), my application crashes with EXC_BAD_ACCESS (code=1, address=0x30000008) error EXC_BAD_ACCESS (code=1, address=0x30000008) .
Here is the relevant code:
- (void)refreshView:(UIRefreshControl *)refresh { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ [self populateWhatsOn]; dispatch_async(dispatch_get_main_queue(), ^ { [self.refreshControl endRefreshing]; }); }); }
Any help would be greatly appreciated!
source share