-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with region download #20
Comments
Thanks @spyrosskordos. Can you elaborate on that? |
I download the tiles successfully but when I kill the app the tiles are removed and the app storage is back to default |
Do you have any suggestion ? I downloaded and the example and still the same happens |
Simulator or device? I just opened the instance of the example I used some days ago in my phone in Air Plane mode and it loaded the tiles. Note that MapCache files are stored a type of folder that is intended for temporary files, files that can be wiped out by the OS if it considers necessary, one option is to modify that folder to a regular folder. (https://github.com/merlos/MapCache/blob/master/MapCache/Classes/DiskCache/DiskCache.swift) Also you can inspect the folder where the cache is in the simulator to check if the files are still there. Run this command in Xcode debugger console:
Inside that folder you have the I hope this helps. |
device...so I can replace disk cache for example with realm to be more persist ...or cache disk reliable? |
I followed the example with the region downloader but the tiles are not persist when downloaded
The text was updated successfully, but these errors were encountered: