控制台报错:
This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
dispatch_async(dispatch_get_main_queue(), ^{
//将调用方法添加到主线程
});
网友评论