I have an app that downloads many images from a server. A main feature of the system is that the images can be viewed offline. The app platform is targeted for iPads ( the images are actually music lead sheets).
Where can I save these images and have them persist? I saw various posts that if you use the app Documnets folder then Apple will reject your app from iTunes. Since the feature of the app is that it works offline, an iCloud location would not work.
Several other posts mention to use cache or tmp directory but then the images may be garbage collected.
I am new to ios and build the app with swift. Any pointers or suggestions would be appreciated. Thx.