URLresponse is not retrieved after storing in cache using storeCachedResponse
问题 Goal I'm trying to inject data/response from URLRequest into another URLRequest in my cache. Setup This is just a sample code. It's ready to be dumped into a project. What I'm trying to do is use the response + data retrieved from my landscapeURLString network request...store into my session's cache for my lizardURLString request. import UIKit class ViewController: UIViewController { lazy var defaultSession : URLSession = { let urlCache = URLCache(memoryCapacity: 500 * 1024 * 1024,