多线程

1.在主线程中更新UI

   //在主线程加载

                dispatch_async(dispatch_get_main_queue(), ^{           

                    [self.tableView reloadData];

                    [MBProgressHUD showSuccess:@"清空成功"];

                });

将来的自己,会感谢现在不放弃的自己!
原文地址:https://www.cnblogs.com/TheYouth/p/4958235.html