Close/Minimize the app
Close/Minimize the app
- Subject: Close/Minimize the app
- From: Symadept <email@hidden>
- Date: Thu, 12 Nov 2009 11:50:25 +0800
Hi,
How to close/minimize the app programmatically. I tried the following way
but no luck.
[[NSApp mainWindow] performMiniaturize:nil];
[OR]
[NSApp miniaturizeAll:self];
And close should not terminate my app, it should place an icon in the Dock,
I hope it would be the same. And I know to give Dock Menu items.
>From that menuitem, if I click on Open, it shall be able to launch my app.
Regards
Symadept
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden