Using AQGridview and the apple provided DocInteraction sample, I can represent the files in my app bundle and files provided through iTunes in the documents directory of my app in a grid format (duh). If I connect my iPad and add a file through iTunes, it adds it just fine, but when I delete a file from iTunes with the app still open, it doesn't delete the file from the grid or the array. It doesn't even raise an error when I tap on the file, it just opens an empty or blank file. How can I remove items from the array they are stored in with a foreach or forin loop (because I know that's ultimately the answer) if said item also doesn't exist in iTunes (or rather the documents directory)?
EDIT: in the context of AQGridView, my code is detecting a change in the documents directory, and is updating the NSMutableArray of objects, but the change is not being reflected on the grid. the [self.gridView deleteItemsAtIndices:<#(NSIndexSet *)#> withAnimation:<#(AQGridViewItemAnimation)#>];
method seems to not work in this case.