开发者

NSWorkSpace import

开发者 https://www.devze.com 2023-02-08 15:37 出处:网络
I call this line in my app: [[NSWorkspace sharedWo开发者_运维问答rkspace] openFile:[LogUtilisateur singletonLogUtilisateur].cheminFichier withApplication:@\"Mail\"];

I call this line in my app:

[[NSWorkspace sharedWo开发者_运维问答rkspace] openFile:[LogUtilisateur singletonLogUtilisateur].cheminFichier withApplication:@"Mail"];

but when I compile, xcode said: NSWorkSpace undeclared.

There is a import or a special framework I must include to work with NSWorkSpace?


This class belongs to AppKit framework. But it is available only for MacOS

0

精彩评论

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