UIRefreshControl jest w złej pozycji w UITableViewController

Widziałem kilka problemów z UIRefreshControl i mam problem z moim UITableViewController. Problem pojawia się tak losowo i odtąd nie mogę zrozumieć, dlaczego i jak to się dzieje.

Problem polega na tym, że czasami, gdy przewijasz tabelę w dół, UIRefreshControl pojawia się w niewłaściwym miejscu, a to, co wydaje się powyżej / na górze samego widoku tabeli. Dołączam zrzut ekranu z tym, jak wygląda problem, a także mój kod użyty do dodania UIRefreshControl i jego odświeżającej metody.

Doceniam każdą oferowaną pomoc!

- (void)viewDidLoad
{
    self.refreshControl = [[UIRefreshControl alloc] init];

    [self.refreshControl addTarget:self action:@selector(refreshing:) forControlEvents:UIControlEventValueChanged];

    [self.tableView addSubview:self.refreshControl];

    self.tableView.tableFooterView = [[UIView alloc] init];
}

- (void)refreshing:(UIRefreshControl*)refreshControl
{
    [refreshControl beginRefreshing];

    [UIApplication sharedApplication].networkActivityIndicatorVisible = YES;

    [refreshControl endRefreshing];

    [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
 }

questionAnswers(2)

yourAnswerToTheQuestion