MapKit iOS 6.1 to iOS 7.1 API Differences

MKAnnotationView.h
Modified MKAnnotationView.annotation
Declaration
From@property (nonatomic, retain) id<MKAnnotation> annotation
To@property (nonatomic, strong) id<MKAnnotation> annotation

Modified MKAnnotationView.image
Declaration
From@property (nonatomic, retain) UIImage *image
To@property (nonatomic, strong) UIImage *image

Modified MKAnnotationView.leftCalloutAccessoryView
Declaration
From@property (nonatomic, retain) UIView *leftCalloutAccessoryView
To@property (nonatomic, strong) UIView *leftCalloutAccessoryView

Modified MKAnnotationView.rightCalloutAccessoryView
Declaration
From@property (nonatomic, retain) UIView *rightCalloutAccessoryView
To@property (nonatomic, strong) UIView *rightCalloutAccessoryView

MKCircleRenderer.h
Added MKCircleRenderer
Added -[MKCircleRenderer initWithCircle:]
Added MKCircleRenderer.circle
MKDirections.h
Added MKDirectionsHandler
Added MKETAHandler
Added MKDirections
Added -[MKDirections initWithRequest:]
Added -[MKDirections calculateDirectionsWithCompletionHandler:]
Added -[MKDirections calculateETAWithCompletionHandler:]
Added -[MKDirections cancel]
Added MKDirections.calculating
MKDirectionsRequest.h
Added -[MKDirectionsRequest setSource:]
Added -[MKDirectionsRequest setDestination:]
Added MKDirectionsRequest (MKRequestOptions)
Added MKDirectionsRequest.transportType
Added MKDirectionsRequest.requestsAlternateRoutes
Added MKDirectionsRequest.departureDate
Added MKDirectionsRequest.arrivalDate
Added MKDirectionsRequest (MKDirectionsURL)
Modified -[MKDirectionsRequest source]
Declaration
From@property (nonatomic, readonly, retain) MKMapItem *source
To- (MKMapItem *)source

Modified -[MKDirectionsRequest destination]
Declaration
From@property (nonatomic, readonly, retain) MKMapItem *destination
To- (MKMapItem *)destination

MKDirectionsResponse.h
Added MKDirectionsResponse
Added MKDirectionsResponse.source
Added MKDirectionsResponse.destination
Added MKDirectionsResponse.routes
Added MKRoute
Added MKRoute.name
Added MKRoute.advisoryNotices
Added MKRoute.distance
Added MKRoute.expectedTravelTime
Added MKRoute.transportType
Added MKRoute.polyline
Added MKRoute.steps
Added MKRouteStep
Added MKRouteStep.instructions
Added MKRouteStep.notice
Added MKRouteStep.polyline
Added MKRouteStep.distance
Added MKRouteStep.transportType
Added MKETAResponse
Added MKETAResponse.source
Added MKETAResponse.destination
Added MKETAResponse.expectedTravelTime
MKDirectionsTypes.h
Added MKDirectionsTransportType
Added MKDirectionsTransportTypeAutomobile
Added MKDirectionsTransportTypeWalking
Added MKDirectionsTransportTypeAny
MKDistanceFormatter.h
Added MKDistanceFormatter
Added -[MKDistanceFormatter stringFromDistance:]
Added -[MKDistanceFormatter distanceFromString:]
Added MKDistanceFormatter.locale
Added MKDistanceFormatterUnits
Added MKDistanceFormatterUnitsDefault
Added MKDistanceFormatterUnitsMetric
Added MKDistanceFormatterUnitsImperial
Added MKDistanceFormatterUnitsImperialWithYards
Added MKDistanceFormatter.units
Added MKDistanceFormatterUnitStyle
Added MKDistanceFormatterUnitStyleDefault
Added MKDistanceFormatterUnitStyleAbbreviated
Added MKDistanceFormatterUnitStyleFull
Added MKDistanceFormatter.unitStyle
MKGeodesicPolyline.h
Added MKGeodesicPolyline
Added +[MKGeodesicPolyline polylineWithPoints:count:]
Added +[MKGeodesicPolyline polylineWithCoordinates:count:]
MKMapCamera.h
Added MKMapCamera
Added MKMapCamera.centerCoordinate
Added MKMapCamera.heading
Added MKMapCamera.pitch
Added MKMapCamera.altitude
Added +[MKMapCamera camera]
Added +[MKMapCamera cameraLookingAtCenterCoordinate:fromEyeCoordinate:eyeAltitude:]
MKMapItem.h
Added MKLaunchOptionsCameraKey
Modified MKMapItem.placemark
Declaration
From@property (nonatomic, readonly, retain) MKPlacemark *placemark
To@property (nonatomic, readonly) MKPlacemark *placemark

Modified MKMapItem.url
Declaration
From@property (nonatomic, retain) NSURL *url
To@property (nonatomic, strong) NSURL *url

MKMapSnapshot.h
Added MKMapSnapshot
Added MKMapSnapshot.image
Added -[MKMapSnapshot pointForCoordinate:]
MKMapSnapshotOptions.h
Added MKMapSnapshotOptions
Added MKMapSnapshotOptions.camera
Added MKMapSnapshotOptions.mapRect
Added MKMapSnapshotOptions.region
Added MKMapSnapshotOptions.mapType
Added MKMapSnapshotOptions.showsPointsOfInterest
Added MKMapSnapshotOptions.showsBuildings
Added MKMapSnapshotOptions.size
Added MKMapSnapshotOptions.scale
MKMapSnapshotter.h
Added MKMapSnapshotCompletionHandler
Added MKMapSnapshotter
Added -[MKMapSnapshotter initWithOptions:]
Added -[MKMapSnapshotter startWithCompletionHandler:]
Added -[MKMapSnapshotter startWithQueue:completionHandler:]
Added -[MKMapSnapshotter cancel]
Added MKMapSnapshotter.loading
MKMapView.h
Added MKMapView.camera
Added -[MKMapView setCamera:animated:]
Added MKMapView.rotateEnabled
Added MKMapView.pitchEnabled
Added MKMapView.showsPointsOfInterest
Added MKMapView.showsBuildings
Added -[MKMapView showAnnotations:animated:]
Added MKOverlayLevel
Added MKOverlayLevelAboveRoads
Added MKOverlayLevelAboveLabels
Added -[MKMapView addOverlay:level:]
Added -[MKMapView addOverlays:level:]
Added -[MKMapView insertOverlay:atIndex:level:]
Added -[MKMapView exchangeOverlay:withOverlay:]
Added -[MKMapView overlaysInLevel:]
Added -[MKMapView rendererForOverlay:]
Added -[MKMapViewDelegate mapViewWillStartRenderingMap:]
Added -[MKMapViewDelegate mapViewDidFinishRenderingMap:fullyRendered:]
Added -[MKMapViewDelegate mapView:rendererForOverlay:]
Added -[MKMapViewDelegate mapView:didAddOverlayRenderers:]
Modified MKMapView.delegate
Declaration
From@property (nonatomic, assign) id<MKMapViewDelegate> delegate
To@property (nonatomic, weak) id<MKMapViewDelegate> delegate

MKMultiPoint.h
Modified -[MKMultiPoint points]
Declaration
From@property (nonatomic, readonly) MKMapPoint *points
To- (MKMapPoint *)points

MKOverlay.h
Added -[MKOverlay canReplaceMapContent]
MKOverlayPathRenderer.h
Added MKOverlayPathRenderer
Added MKOverlayPathRenderer.fillColor
Added MKOverlayPathRenderer.strokeColor
Added MKOverlayPathRenderer.lineWidth
Added MKOverlayPathRenderer.lineJoin
Added MKOverlayPathRenderer.lineCap
Added MKOverlayPathRenderer.miterLimit
Added MKOverlayPathRenderer.lineDashPhase
Added MKOverlayPathRenderer.lineDashPattern
Added -[MKOverlayPathRenderer createPath]
Added MKOverlayPathRenderer.path
Added -[MKOverlayPathRenderer invalidatePath]
Added -[MKOverlayPathRenderer applyStrokePropertiesToContext:atZoomScale:]
Added -[MKOverlayPathRenderer applyFillPropertiesToContext:atZoomScale:]
Added -[MKOverlayPathRenderer strokePath:inContext:]
Added -[MKOverlayPathRenderer fillPath:inContext:]
MKOverlayPathView.h
Modified MKOverlayPathView.fillColor
Declaration
From@property (retain) UIColor *fillColor
To@property (strong) UIColor *fillColor

Modified MKOverlayPathView.strokeColor
Declaration
From@property (retain) UIColor *strokeColor
To@property (strong) UIColor *strokeColor

MKOverlayRenderer.h
Added MKOverlayRenderer
Added -[MKOverlayRenderer initWithOverlay:]
Added MKOverlayRenderer.overlay
Added -[MKOverlayRenderer pointForMapPoint:]
Added -[MKOverlayRenderer mapPointForPoint:]
Added -[MKOverlayRenderer rectForMapRect:]
Added -[MKOverlayRenderer mapRectForRect:]
Added -[MKOverlayRenderer canDrawMapRect:zoomScale:]
Added -[MKOverlayRenderer drawMapRect:zoomScale:inContext:]
Added -[MKOverlayRenderer setNeedsDisplay]
Added -[MKOverlayRenderer setNeedsDisplayInMapRect:]
Added -[MKOverlayRenderer setNeedsDisplayInMapRect:zoomScale:]
Added MKOverlayRenderer.alpha
Added MKOverlayRenderer.contentScaleFactor
Modified MKRoadWidthAtZoomScale()
Header
FromMKOverlayView.h
ToMKOverlayRenderer.h

MKOverlayView.h
Modified MKRoadWidthAtZoomScale()
Header
FromMKOverlayView.h
ToMKOverlayRenderer.h

MKPolygonRenderer.h
Added MKPolygonRenderer
Added -[MKPolygonRenderer initWithPolygon:]
Added MKPolygonRenderer.polygon
MKPolyline.h
Modified +[MKPolyline polylineWithPoints:count:]
Declaration
From+ (MKPolyline *)polylineWithPoints:(MKMapPoint *)points count:(NSUInteger)count
To+ (instancetype)polylineWithPoints:(MKMapPoint *)points count:(NSUInteger)count

Modified +[MKPolyline polylineWithCoordinates:count:]
Declaration
From+ (MKPolyline *)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count
To+ (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count

MKPolylineRenderer.h
Added MKPolylineRenderer
Added -[MKPolylineRenderer initWithPolyline:]
Added MKPolylineRenderer.polyline
MKReverseGeocoder.h
Modified MKReverseGeocoder.delegate
Declaration
From@property (nonatomic, assign) id<MKReverseGeocoderDelegate> delegate
To@property (nonatomic, weak) id<MKReverseGeocoderDelegate> delegate

MKTileOverlay.h
Added MKTileOverlay
Added -[MKTileOverlay initWithURLTemplate:]
Added MKTileOverlay.tileSize
Added MKTileOverlay.geometryFlipped
Added MKTileOverlay.minimumZ
Added MKTileOverlay.maximumZ
Added MKTileOverlay.URLTemplate
Added MKTileOverlay.canReplaceMapContent
Added MKTileOverlayPath
Added MKTileOverlay (CustomLoading)
Added -[MKTileOverlay URLForTilePath:]
Added -[MKTileOverlay loadTileAtPath:result:]
MKTileOverlayRenderer.h
Added MKTileOverlayRenderer
Added -[MKTileOverlayRenderer initWithTileOverlay:]
Added -[MKTileOverlayRenderer reloadData]
MKTypes.h
Added MKErrorCode
Added MKErrorDirectionsNotFound
MKUserLocation.h
Modified MKUserLocation.location
Declaration
From@property (nonatomic, readonly, retain) CLLocation *location
To@property (nonatomic, readonly) CLLocation *location

Modified MKUserLocation.heading
Declaration
From@property (nonatomic, readonly, retain) CLHeading *heading
To@property (nonatomic, readonly) CLHeading *heading

MKUserTrackingBarButtonItem.h
Modified MKUserTrackingBarButtonItem.mapView
Declaration
From@property (nonatomic, retain) MKMapView *mapView
To@property (nonatomic, strong) MKMapView *mapView