我正在尝试将Finder窗口置于前面:
NSRunningApplication *finder = [NSRunningApplication runningApplicationWithProcessIdentifier:finderPID];
[finder activateWithOptions:NSApplicationActivateIgnoringOtherApps];
这适用于主要的内置显示器。但是在我的外部显示器上,调用-activateWithOptions
后Finder窗口无法获得焦点。这是预期的行为吗?这是一个错误吗?