Commit f13c3ffa authored by 朱璇's avatar 朱璇

iPhone X 直接卡顿 所以换这个方法

parent 3420fc3f
......@@ -130,18 +130,7 @@
}
}
}];
[dataTask resume];
// [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse * _Nullable response, NSData * _Nullable data, NSError * _Nullable connectionError) {
// NSHTTPURLResponse *res = (NSHTTPURLResponse *)response;
// NSInteger code = res.statusCode;
// if (code == 200) {
// if (success) {
// success(code);
// }
// }
// }];
}
@catch (NSException *exception) {
phobosLog(exception);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment