self.tableView reloadData not working after successful call in AFNetworking

后端 未结 2 1858
迷失自我
迷失自我 2020-12-19 03:11

I have a class that runs similar to the AFHTTPSessionManager component of this tutorial http://www.raywenderlich.com/59255/afnetworking-2-0-tutorial

However, [self.t

2条回答
  •  暖寄归人
    2020-12-19 03:27

    write the [self.tableView reloadData];in the main queue.

    dispatch_sync(dispatch_get_main_queue(), ^{
        [self.tableView reloadData];
    });
    

提交回复
热议问题