> > On May 15, 2013, at 11:29 AM, Steve Mills wrote: > > I added more nextEventMatchingMask's and the 4th one would actually cause the > document to be restored, which was way too early in the init method to do > that. But I found this, which seems to work much more reliably. It takes care > of doing event type stuff and displays the window. > > NSModalSession session = [[NSApplication > sharedApplication] beginModalSessionForWindow:splashWindow]; > > [[NSApplication sharedApplication] endModalSession:session]; > > Continue doing regular init code, leaving the window onscreen…
From what I can gather, it seems like Mountain Lion tries to suppress all floating windows until it knows for sure that no modal dialogs will be presented at startup (for example, reopenDocument could fail and present a dialog) Does anyone else have a recommended solution for this problem? I can't have my splash screen get stuck on, and obscure anything in case a modal dialog decides to present itself. ~Keith _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com