Strange behavior of applicationShouldHandleReopen delegate
Strange behavior of applicationShouldHandleReopen delegate
- Subject: Strange behavior of applicationShouldHandleReopen delegate
- From: yogin bhargava <email@hidden>
- Date: Wed, 24 Feb 2010 16:00:59 +0530
Hi All,
I have the following delegate being implemented in my app.
- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication
hasVisibleWindows:(BOOL)flag
{
[mainApplicationWindow makeKeyAndOrderFront: self];
return NO;
}
This delegate is called when i close my window and click on the dock icon
and so the window relaunches. This is fine. The problem is this application,
while it is running, and the system reboots, it relaunches. And during this
time the delegate is not being called after the closure of the window.
Rather the dock says application not responding.
Any suggestions please.
Thanks,
--
YOGIN BHARGAVA,
Flat No TF-2,
Phase 4,
Lotus Krest,
Kundalahalli Colony,
ITPL Main Road,
Bangalore-560067
_______________________________________________
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