API Differences in MapKit in iOS 18.0

It can be difficult to find what changed in Apple SDKs. These pages are algorithmically generated and show what is new in MapKit in the iOS 18.0 SDK.

Table of Contents

Typealiases

MKMapItem.Identifier
public typealias RawValue = Swift.String

Functions & Methods

MKSelectionAccessory.MapItemDetailPresentationStyle
public static func automatic(presentationViewController: UIKit.UIViewController? = nil) -> MapKit.MKSelectionAccessory.MapItemDetailPresentationStyle
MKSelectionAccessory.MapItemDetailPresentationStyle
public static func callout(_ style: MapKit.MKSelectionAccessory.MapItemDetailPresentationStyle.CalloutStyle = .automatic) -> MapKit.MKSelectionAccessory.MapItemDetailPresentationStyle
MKMapViewDelegate
- (nullable MKSelectionAccessory *)mapView:(nonnull MKMapView *)mapView selectionAccessoryForAnnotation:(nonnull id<MKAnnotation>)annotation;

Conformances

MKMapItem.Identifier
Swift.Codable
MKMapItem.Identifier
Swift.RawRepresentable

Protocols

MKMapItemDetailViewControllerDelegate

Classes

MKMapItemIdentifier
MKSelectionAccessory
MKMapItemDetailSelectionAccessoryPresentationStyle
MKMapItemDetailViewController
MKAddressFilter
MKMapItemAnnotation

Properties & Constants

MKAnnotationView
@property(nonatomic, assign, unsafe_unretained, readwrite) CGPoint accessoryOffset;
extern const MKPointOfInterestCategory MKPointOfInterestCategoryAnimalService
extern const MKPointOfInterestCategory MKPointOfInterestCategoryAutomotiveRepair
extern const MKPointOfInterestCategory MKPointOfInterestCategoryBaseball
extern const MKPointOfInterestCategory MKPointOfInterestCategoryBasketball
extern const MKPointOfInterestCategory MKPointOfInterestCategoryBeauty
extern const MKPointOfInterestCategory MKPointOfInterestCategoryBowling
extern const MKPointOfInterestCategory MKPointOfInterestCategoryCastle
extern const MKPointOfInterestCategory MKPointOfInterestCategoryConventionCenter
extern const MKPointOfInterestCategory MKPointOfInterestCategoryDistillery
extern const MKPointOfInterestCategory MKPointOfInterestCategoryFairground
extern const MKPointOfInterestCategory MKPointOfInterestCategoryFishing
extern const MKPointOfInterestCategory MKPointOfInterestCategoryFortress
extern const MKPointOfInterestCategory MKPointOfInterestCategoryGolf
extern const MKPointOfInterestCategory MKPointOfInterestCategoryGoKart
extern const MKPointOfInterestCategory MKPointOfInterestCategoryHiking
extern const MKPointOfInterestCategory MKPointOfInterestCategoryKayaking
extern const MKPointOfInterestCategory MKPointOfInterestCategoryLandmark
extern const MKPointOfInterestCategory MKPointOfInterestCategoryMailbox
extern const MKPointOfInterestCategory MKPointOfInterestCategoryMiniGolf
extern const MKPointOfInterestCategory MKPointOfInterestCategoryMusicVenue
extern const MKPointOfInterestCategory MKPointOfInterestCategoryNationalMonument
extern const MKPointOfInterestCategory MKPointOfInterestCategoryPlanetarium
extern const MKPointOfInterestCategory MKPointOfInterestCategoryRockClimbing
extern const MKPointOfInterestCategory MKPointOfInterestCategoryRVPark
extern const MKPointOfInterestCategory MKPointOfInterestCategorySkatePark
extern const MKPointOfInterestCategory MKPointOfInterestCategorySkating
extern const MKPointOfInterestCategory MKPointOfInterestCategorySkiing
extern const MKPointOfInterestCategory MKPointOfInterestCategorySoccer
extern const MKPointOfInterestCategory MKPointOfInterestCategorySpa
extern const MKPointOfInterestCategory MKPointOfInterestCategorySurfing
extern const MKPointOfInterestCategory MKPointOfInterestCategorySwimming
extern const MKPointOfInterestCategory MKPointOfInterestCategoryTennis
extern const MKPointOfInterestCategory MKPointOfInterestCategoryVolleyball
MKLocalSearchRequest
@property(nonatomic, assign, unsafe_unretained, readwrite) MKLocalSearchRegionPriority regionPriority;
MKLocalSearchRequest
@property(nonatomic, copy, readwrite, nullable) MKAddressFilter *addressFilter;
MKMapItemRequest
@property(nonatomic, readonly, nullable) MKMapItemIdentifier *mapItemIdentifier;
MKMapItemRequest
@property(nonatomic, readonly, nullable) MKMapFeatureAnnotation *mapFeatureAnnotation;
MKMapItem
@property(nonatomic, readonly, nullable) MKMapItemIdentifier *identifier;
MKMapItem
@property(nonatomic, readonly) NSSet<MKMapItemIdentifier *> * _Nonnull alternateIdentifiers;

Initializers

MKMapItemRequest
- (nonnull instancetype)initWithMapItemIdentifier:(nonnull MKMapItemIdentifier *)identifier;