I'm using offline caching to download a preconfigured map from MapBox using:
tileCache = [[RMTileCache alloc] initWithExpiryPeriod:NSIntegerMax];
RMMapboxSource * tileSource = [[RMMapboxSource alloc] initWithMapID:mapID];
[tileCache beginBackgroundCacheForTileSource:tileSource southWest:southWest northEast:northEasth minZoom:minZoom maxZoom:maxZoom];
This all works fine and the result is a RMDatabaseCache object in the tileCache's tileCaches array.
My question is, how do I clean this specific cache up? I will have multiple of these caches, all with different map IDs and want to be able to clean up specific ones. Can't find a method that takes the mapID as a cleanup-key.
(my purpose is to have multiple offline maps, hence this approach)