Hi, I think I never thought about this but... let's say I have my iOS app (swift) and I have a ViewController with a WKWebView. If I open a link of a page with a pdf, where are the pdf and that page's files stored? Is there a way to clean the directory in which those files get stored? Is it something I shouldn't worry about?
Thanks in advance
where are the pdf and that page's files stored?
That’s not documented.
Is there a way to clean the directory in which those files get stored?
There’s no single directory to clear here, but there is an API to see what data is stored and to clear it. Check out the WKWebsiteDataStore
type.
Is it something I shouldn't worry about?
It’s hard to say. Do you have a specific concern?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"