How do I launch an application on system startup? (Mac OSX, Cocoa)

后端 未结 2 1523
半阙折子戏
半阙折子戏 2020-12-16 13:26

I have a program that runs only in the toolbar (w/ time/date, spotlight, etc.) and I want to put an item in the preferences to allow the user to select whether to start my a

2条回答
  •  萌比男神i
    2020-12-16 13:50

    You need to add the app to login items.

    See System Startup Programing Topics: Customizing Login and Logout

提交回复
热议问题