objective c - How to disable 10.7 window restoration feature? -
I have a large app that crashes continuously at 10.7. It seems that the new window restoration is related to the feature. Can this behavior be disabled through Info.plist or Priority? How can the ObjC code be?
When you start your application, you can disable it by modifying it by default.
writes the default application identifier NSQuitAlwaysKeepsWindows-bool false where applicationidentifier is the identifier of your application. For example, for textEdit, com.Apple.TextEdit . Of course, to do this, the real thing is correcting your app to support this feature properly.
Comments
Post a Comment