阅读背景:

如何使用NSOpenPanel只获得文件名而不是完整目录?

来源:互联网 

This is my code:

这是我的代码:

NSOpenPanel  *panel = [NSOpenPanel openPanel];
[panel setAllowsMultipleSelection:YES];
[panel runModal];

NSInteger count = [[panel URLs] count];

for (int i=0; i<count; i++) {
   NSLog(@"%@", [[panel URLs] objectAtIndex:i]);
}
NSOpenPanel  *pane



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: