Instance Method

initWithMapView:

Initializes a newly created bar button item with the specified map view.

Declaration

- (instancetype)initWithMapView:(MKMapView *)mapView;

Parameters

mapView

The map view used by this bar button item.

Return Value

The initialized bar button item.

See Also