Other Classes

The following classes are available globally.

  • Adapter that wraps an MKMapView to conform to VMBaseMapSyncable.

    Usage:

    let baseMap = MKMapView(frame: view.frame)
    view.addSubview(baseMap)
    venueMapView.baseMap = VMAppleBaseMap(mapView: baseMap)
    

    The adapter takes over as the MKMapView’s delegate to observe accessibility-driven camera changes. If you need MKMapView delegate callbacks, set mkMapViewDelegate instead of assigning the delegate on the MKMapView directly.

    Since

    2.2.6
    See more

    Declaration

    Swift

    @objcMembers
    public class VMAppleBaseMap : NSObject, VMBaseMapSyncable
    extension VMAppleBaseMap: MKMapViewDelegate