xcode7错误提示
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release。
解决方案,在需要加载UI的地方写进主线程,如
dispatch_async(dispatch_get_main_queue(), ^{
[self.tableView reloadData];
});