I added analytics and sent out a TestFlight build. I was able to catch FileManager .contentsOfDirectory call taking upwards of 20 to 400 seconds when reading the files in our custom image cache directory in the aforementioned app group storage. If the cache was unable to clear itself out, I supposed the number of files in that directory could grow. Would the .enumerator(at:URL allow me to access that without blocking other disc access? It's possible this call itself is being blocked?
Topic:
App & System Services
SubTopic:
Core OS
Tags: