未声明MKA注释

我的代码有错误:
MKAnnotation *ann = [MKAnnotation alloc];
错误:
MKAnnotation undeclared
我已经导入以下内容:
#import <MapKit/MapKit.h>
#import <MapKit/MKAnnotation.h>
任何想法如何解决这个问题?     
已邀请:
MKAnnotation
不是类-它是一个协议,它定义了可以用作地图上注释的对象的接口-因此,符合该协议的任何对象(即实现所有必需的方法)都可以在其位置使用。     

要回复问题请先登录注册