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.
我最近切换到开发者版本 4.5 并发现 CPTAnnotation.h not found 问题,以前没有。知道我错过了什么。这与coreplot有关。谢谢
CPTAnnotation不是 iOS SDK 的一部分,而是 CorePlot 库的一部分。确保已将库添加到项目中(方法如下)并导入头文件:#import "CorePlot-CocoaTouch.h"
CPTAnnotation
#import "CorePlot-CocoaTouch.h"