How are Assets removed?

Hello,

I'm trying to figure out the behavior of AssetPackManager.shared.remove(assetPackWithID: ).

I'm working with MapKit tiles and currently working on trying projecting them correctly which involves serving the AssetPack locally, downloading, checking alignment, and then deleting and changing.

My question is that remove(assetPackWithID: ) completes successfully and the asset pack is removed. This is confirmed by trying to remove the AssetPack again which throws an error.

However, the asset is still appearing on MapKit after the removal. This is a bit odd as this persists not only with force killing, but also restarting the device.

Please advise on how to properly remove an AssetPack.

Thank you

  • iPhone 15 Pro Max (iOS 26.0.1)
  • iPhone 17 Pro Max (iOS 26.0.1)
How are Assets removed?
 
 
Q