I have an iOS app that downloads data files from webpages. Often a user will come across the webpage, but will not yet have the app. Rather than get them to download the app and then re-find the webpage within the app, I would like to download the data file, then have the app pick that up when it is installed. From what I can gather, I need to put that file in the iCloud. But when I try to download the file with Safari, it tells me it cannot download the file. If I use Chrome, it wants me to use GoogleDrive to save the file. Is there a way a webpage can save a file to iCloud? Or is there some other way to tell the app what file to download when it has been installed?
Just heard the official word from Apple. There is NO way to copy/transfer/download a file (image or otherwise) from an internet site to the user's iCloud.
By experimentation I have discovered that Safari WILL download some file types (eg jpegs) from a webpage, other file types will give the error mentioned in the question, but NO files will be placed in the iCloud. And so no files will be available to my app.