开发者

There is a way in Objective-C to know which app has the focus (i.e the user is currently using) on a Mac?

There is a way in Objective-C to know which app has the f开发者_StackOverflow中文版ocus (i.e. user is currently using) on a Mac?

Thanks in advance.


See NSWorkspace's -activeApplication.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜