In my application, I want to log in using webview, and then all other server requests are made using NSURLSession .
I can log in successfully using WKWebView . On this success, I get session information. I used it before using UIWebView and it worked correctly. All my further calls with web services worked perfectly with NSURLSession. That is, session information is transmitted along with the request
Now that I have logged in using WKWebView and I am trying to call the service using NSURLSession, this does not give me the correct answer, because the information about the transmission session is not transmitted.
Is there any way I can save this session information and use it with NSURLSession
Any help would be appreciated. Please, help!
source share