Hello,Thanks for your answers.Now I'm able to get the right URL to file from request in delegate method and then create a URLSession to download file but I've found another problem.The URLSession is not able to download file because of missing session. I'm using WKWebView and it seems that the cookies are not stored in cookie storage so the URLSession get a login page instead of file.Is there any way to get cookies from WKWebView to use by URLSession? I was trying to get cookies from response header but without success.BR,Pawel
Topic:
Programming Languages
SubTopic:
Swift
Tags: