After using [NSRunningApplication unhide] the window of application does not unminimize. If I use[NSRunningApplication activateWithOptions: NSApplicationActivateIgnoringOtherApps] only application's menu appears on top. Also, if I manually hide application, [NSRunningApplication isHidden] always return false.
Am I missing something here?
To clarify what I want to do: I need to bring application to foreground by process Id. If application is not minimized, "activateWithOptions" works well, but if it is minimized, nothing really happens and "unhide" does nothing.