1

I’m trying to bring the Finder window to front:

NSRunningApplication *finder = [NSRunningApplication runningApplicationWithProcessIdentifier:finderPID];
[finder activateWithOptions:NSApplicationActivateIgnoringOtherApps];

This works on the primary, built-in display. But on my external display, the Finder window doesn’t get focus after calling -activateWithOptions. Is that the expected behaviour? Is it a bug?

zoul
  • 102,279
  • 44
  • 260
  • 354

0 Answers0