0

Is there a way to show the QLPreviewPanel in an agent app (LSUIElement == YES) on Mac OS X 10.6? It works on 10.7. The frame of the panel is correct and everything, it’s just not visible.

Martin Winter
  • 1,370
  • 9
  • 10

1 Answers1

0

I found the answer in an old thread on CocoaDev, where the issue was showing alert panels in agent apps in general:

Alert dialog in agent app

Solution: One must call [NSApp activateIgnoringOtherApps:YES] in order to make the panel appear.

Martin Winter
  • 1,370
  • 9
  • 10