开发者

How to launch my app programmatically, if an other app opens?

I want, that m开发者_运维知识库y app opens when (for example) the user opens iTunes. How Can I do this?


Have a program always running in the background that is subscribed to NSWorkspace's NSWorkspaceDidLaunchApplicationNotification and have it do its thing when it sees iTunes as the NSWorkspaceApplicationKey object.


If you are talking iOS; you can't.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜