Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试导入此类标头#import <Foundation/NSURLDownload.h>,但出现错误 File not found 但我在基础框架的构建路径中有它。我该怎么办?
<Foundation/NSURLDownload.h>
此类仅适用于 Mac OS X,不适用于 iOS。
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSURLDownload_Class/Reference/Reference.html
这是一个 mac osx 类而不是 ios 类,因此您将无法找到它。