Skip to content

ios 创建HMapView失败 #27

@rarest

Description

@rarest


https://developer.huawei.com/consumer/cn/doc/HMSCore-Guides/ios-sdk-map-instance-creation-0000001242754527

self.mapView = [[HMapView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.view.frame), CGRectGetHeight(self.view.frame) - CGRectGetMinY(self.navigationController.navigationBar.frame))
self.mapView.delegate = self;
self.mapView.centerCoordinate = CLLocationCoordinate2DMake(48.893478, 2.334595);
[self.view addSubview:self.mapView];
self.mapView.showsScale = false;

参照文档创建HMapView失败:[NSFileManager copyItemAtPath:toPath:options:error:]: source path is nil
​​

Image

​​

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions