Why doesn't the undo/redo panel appear when I start a shake gesture in iPhone Simulator?

Posted by dontWatchMyProfile on Stack Overflow See other posts from Stack Overflow or by dontWatchMyProfile
Published on 2010-06-14T10:27:32Z Indexed on 2010/06/14 10:32 UTC
Read the original article Hit count: 277

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data