get url event on app open in objective c (Mac OSX)

后端 未结 1 1070
情书的邮戳
情书的邮戳 2021-01-14 04:38

I\'m writing a very lightweight app for OSX 10.6+ which will respond to a user clicking on a URL, pass that URL to another application via TCP and then exit.

So far

相关标签:
1条回答
  • 2021-01-14 05:08

    You should be creating your AppleEvent handlers in -applicationWillFinishLaunching: instead.

    The idea is to have your handlers ready to go before your application begins processing AppleEvents.

    0 讨论(0)
提交回复
热议问题