Has anyone got any ideas for undoing a single edit in an AGSGDBFeatureTable object in the iOS SDK?
I can see that the AGSGDBFeatureTable object has a clearEdits method, but that will clear all edits. I would like to clear individual edits.
The AGSGDBFeature object has a 'revert' method, but this only works with in-memory changes...not changes that have been committed to the underlying table. What I'm looking for is basically a method equivalent to this, but one that reverts an updated or deleted feature in the underlying table back to its original state.
Any ideas? I could come up with a routine that collects all existing edits on a given table, clears all edits, then re-applies all edits except the one I'm looking to undo...but that seems a little overkill.
Solved! Go to Solution.