Reputation: 11
I'm getting this error running the sample:
"No visible @interface for 'RMConfiguration' declares the selector 'setAccessToken:'"
Any idea? The code what could be causing it? I'm using version 1.4.1 of the SDK
- (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];
}
Upvotes: 1
Views: 276