• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting a splash screen to show
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a splash screen to show


  • Subject: Re: Getting a splash screen to show
  • From: Steve Mills <email@hidden>
  • Date: Wed, 15 May 2013 11:29:41 -0500

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…

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157




_______________________________________________

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


References: 
 >Getting a splash screen to show (From: Steve Mills <email@hidden>)
 >Re: Getting a splash screen to show (From: Jean Suisse <email@hidden>)
 >Re: Getting a splash screen to show (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Minor Scriptability Quesiton
  • Next by Date: Re: UIView drawRect will update whole bounds
  • Previous by thread: Re: Getting a splash screen to show
  • Next by thread: Re: Getting a splash screen to show
  • Index(es):
    • Date
    • Thread