-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码卡顿 #7
Comments
您好,我未能复现此问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
网页重定向时,返回卡顿延迟严重!代码执行如下,作者可以测一下
//网页重定向
{
NSURLRequest * request = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:urlStr]];
NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration];
NSURLSession *session = [NSURLSession sessionWithConfiguration:config
delegate:self
delegateQueue:[NSOperationQueue mainQueue]];
NSURLSessionDataTask * task = [session dataTaskWithRequest:request];
[task resume];
}
The text was updated successfully, but these errors were encountered: