Hello,
I am writing a Cocoa application and I am running into a problem, when closing the about box to my app the application terminates. I call the following method so that when my main window closes the app terminates:
The main window to my app is an HUD panel so I think this may be causing the problem
Any Solutions? I would leave it alone, but my app is rejected because Apple considers it to be a bug.
I am writing a Cocoa application and I am running into a problem, when closing the about box to my app the application terminates. I call the following method so that when my main window closes the app terminates:
Code:
-(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender{
return YES;
}
The main window to my app is an HUD panel so I think this may be causing the problem
Any Solutions? I would leave it alone, but my app is rejected because Apple considers it to be a bug.