-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
'initWithRequest:delegate:startImmediately:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h) #1318
Comments
I need this fixed! Have no idea how to solve it. |
I also get this error on the latest version.
|
I have the same! Can anyone give me some hints? |
Just passing through, I had this same problem. Instead of using NSURLConnection you must use NSURLSession.Since I don't know what your code looks like here is a basic outline of what needs to be there. If you have any trouble consult the class reference . NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request |
@brandonkehl still doesn't work. can you show more details? |
…1291 SDWebImage#1318 SDWebImage#823 SDWebImage#1566 - one session per operation to preserve the ordering and priority functionalities - removed all the runloop code that was only used to keep the operation running. I am relying on non-setting the isFinished property to keep the operation running - todo: check deallocation, test background tasks
Resolved by #1578 |
3.8.0 version was just released. |
Hi,
After migrate my project to iOS 9.0 and xCode 7.0 i getting above warning.
I guess SDWebImage uses NSURLConnection instead of NSURLSession.
Please change the code and make new update.
Thanks in Advance
The text was updated successfully, but these errors were encountered: