NSTask *softTask = [[NSTask alloc] init];
[softTask setLaunchPath:@"/Applications/Xcode.app/Contents/MacOS/Xcode"];
[softTask launch];
NSTask *softTask = [[NSTask alloc] init];
[softTask setLaunchPath:@"/Applications/Xcode.app/Contents/MacOS/Xcode"];
[softTask launch];
本文标题:Cocoa Mac OS X下打开应用程序的OC代码
本文链接:https://www.haomeiwen.com/subject/ajlvhttx.html
网友评论