I am implementing the Skobbler SDK (v2.5), but I have a problem with the steps of the first step.
Application error with this error: [SKVectorMapView displayTrafficWithMode:]: unrecognized selector sent to the instance
This is AppDelegate Code
SKMapsInitSettings* initSettings = [[SKMapsInitSettings alloc]init];
initSettings.mapDetailLevel = SKMapDetailLevelLight;
[[SKMapsService sharedInstance] initializeSKMapsWithAPIKey:API_KEY settings:initSettings];
And this is the code of the ViewController:
- (void)viewDidLoad {
[super viewDidLoad];
SKMapView *mapView = [[SKMapView alloc] initWithFrame:CGRectMake( 0.0f, 0.0f, CGRectGetWidth(self.view.frame), CGRectGetHeight(self.view.frame) )];
[self.view addSubview:mapView];
}
Could you tell me what is wrong?
source
share