views:

26

answers:

1

I've created an NSUndoManager for the Managed Object Context of Core Data, like this:

NSUndoManager *undoManager = [[NSUndoManager alloc] init];
[undoManager setLevelsOfUndo:10];
[managedObjectContext setUndoManager:undoManager];
[undoManager release];

In the app delegate where the didFinishLaunching method is called, I did this:

application.applicationSupportsShakeToEdit = YES; 

For some reason, I never get that undo/redo panel when I make a shake gesture in iPhone Simulator (from the menu). Must I enable undo/redo somewhere else, maybe in the Info.plist file?

+1  A: 

As lukya pointed out, you already asked this question back in March.

Marcus S. Zarra