开发者

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

开发者 https://www.devze.com 2023-01-24 02:52 出处:网络
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?

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

精彩评论

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