initWithCoordinate:
Initializes a new location anchor with the given coordinates.
Declaration
- (instancetype) initWithCoordinate:(CLLocationCoordinate2D) coordinate;Parameters
- coordinate:
Lattitude and longitude of the anchor’s geographic location.
Discussion
Because this initializer does not take an altitude argument, ARKit sets the anchor’s altitude to ground level.