Posts

Post not yet marked as solved
0 Replies
146 Views
We're using the device name as an identifier for device pairing with an accessory. Therefore we think we're fulfilling the prerequisites: need it for “multi-device features” device-name is visible to the user but we're not sure about the latter. Can you clarify if the requirement "visible to the user" means visible on the device accessing the UIDevice.name or any device involved in the multi-device feature? Seems like we can't just try and find out by trial and error yet: https://developer.apple.com/forums/thread/708275
Posted Last updated
.
Post not yet marked as solved
0 Replies
344 Views
I'm using NSURLSession dataTask(... to retrieve an image from a webservice. The image is delivered with a 307 temporary redirect from a CDN.If I understand the available documentation for 307 redirects correctly the redirect should be cached according to the caching information in the Header. However this is not working and every access to the image triggers a new request to the first webservice therefore breaking any offline-caching of the images.Shouldn't the 307 redirect be cached? Is this a Bug in NSURLSession or NSURLRequest? Am I missing some configuration?BTW: I've temporarly changed the 307 redirect to a permanent 301 redirect. Offline-Caching is wirking fine that way but using a permanent redirect is not the solution.
Posted Last updated
.