- Show splash screen before finished launching?
Re: Show splash screen before finished launching?
On Sep 6, 2018, at 1:39 PM, Jon Gotow <firstname.lastname@example.org> wrote:
Try putting this after your orderFront call:
[[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:0.01]];
The runloop basically has to do at least one iteration before the new window will actually be mapped to the screen.
Tried that, no change.
On Sep 6, 2018, at 12:17 PM, James Walker <email@example.com> wrote:
I’m trying to show a splash screen in applicationWillFInishLaunching:, but it doesn’t actually appear until applicationDidFinishLaunching: seconds later. I’ve done all I can think of to make it show up:
[NSApp activateIgnoringOtherApps: YES];
Is there anything else I can do to make the window draw?
Join firstname.lastname@example.org to automatically receive all group messages.