当前位置: 动力学知识库 > 问答 > 编程问答 >

swift - Programmatically Launch OS X App after restart

问题描述:

I am currently needing an application to launch after the user restarts their computer. They will be running an application that will prompt a restart, after the restart, I need another application to launch. Or, if I could put code in the previous application that is causing the restart, to open a different application after restart. I have found some different code but it seems to be older versions. What is the most effective way to do this in a Cocoa OS X Application with Swift.

分享给朋友:
您可能感兴趣的文章:
随机阅读: