How to create a modal dialog that blocks on start-up?
How to create a modal dialog that blocks on start-up?
- Subject: How to create a modal dialog that blocks on start-up?
- From: Graham Cox <email@hidden>
- Date: Fri, 6 Mar 2009 15:21:07 +1100
My app needs to show an EULA on start-up (yes, I know, but what can
you do?). Handling this is all fine, but I need the modal dialog that
is shown to completely block the normal start-up of the app until it
completes.
Right now I show the dialog using [NSApp runModalForWindow:] and I
call that from the app delegate's appWillFinishLaunching method. The
problem is the normal start-up of the app, including creating an
untitled doc, etc. continues behind the dialog.
--Graham
_______________________________________________
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