I've little knowledge in developing Mac window based application. When the app starts up, i don't want to show the window at all. I'm placing icon in status bar and on right clicking it will show options and one option is to see the window. Can some one tell me how to hide the window when the app starts up?
macOS Catalina or laterHold your pointer over the full-screen button in the upper-left corner of a window. Or click and hold the button. Choose ”Tile Window to Left of Screen” or ”Tile Window to Right of Screen” from the menu. The window then fills that side of the screen.
Command-H: Hide the windows of the front app. To view the front app but hide all other apps, press Option-Command-H. Command-M: Minimize the front window to the Dock. To minimize all windows of the front app, press Option-Command-M.
If you still have certain programs opening when you boot up your Mac, it's likely due to launch daemons and agents hidden within your libraries. These files are hidden in places you won't normally look and tell the computer to launch programs independently of regular startup items.
In application xib, select the window object, and you will see "Visible at Launch" in Attributes Inspector.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With