运行示例时出现此错误:
"No visible @interface for 'RMConfiguration' declares the selector 'setAccessToken:'"
有什么想法吗?什么可能导致它的代码?我正在使用SDK的1.4.1版本
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
[[RMConfiguration configuration] setAccessToken:@"<access token>"];
RMMapboxSource *tileSource = [[RMMapboxSource alloc] initWithMapID:@"examples.map-zr0njcqy"];
RMMapView *mapView = [[RMMapView alloc] initWithFrame:self.view.bounds andTilesource:tileSource];
[self.view addSubview:mapView];
}