-
Notifications
You must be signed in to change notification settings - Fork 507
MapKit watchOS xcode14.0 beta1
Manuel de la Pena edited this page Aug 5, 2022
·
3 revisions
#MapKit.framework https://github.com/xamarin/xamarin-macios/pull/15562
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsRequest.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsRequest.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsRequest.h 2022-02-23 07:15:41.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsRequest.h 2022-05-31 15:03:52.000000000 -0400
@@ -11,6 +11,12 @@
NS_ASSUME_NONNULL_BEGIN
+API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos)
+typedef NS_ENUM(NSInteger, MKDirectionsRoutePreference) {
+ MKDirectionsRoutePreferenceAny = 0,
+ MKDirectionsRoutePreferenceAvoid
+};
+
NS_CLASS_AVAILABLE(10_9, 6_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKDirectionsRequest : NSObject
@@ -32,6 +38,9 @@
@property (nonatomic, copy, nullable) NSDate *departureDate NS_AVAILABLE(10_9, 7_0);
@property (nonatomic, copy, nullable) NSDate *arrivalDate NS_AVAILABLE(10_9, 7_0);
+@property (nonatomic) MKDirectionsRoutePreference tollPreference API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos); // Default is MKDirectionsRoutePreferenceAny
+@property (nonatomic) MKDirectionsRoutePreference highwayPreference API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos); // Default is MKDirectionsRoutePreferenceAny
+
@end
@interface MKDirectionsRequest (MKDirectionsURL)
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsResponse.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsResponse.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsResponse.h 2022-02-23 07:15:38.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsResponse.h 2022-05-31 15:03:49.000000000 -0400
@@ -43,6 +43,10 @@
@property (nonatomic, readonly) NSArray<MKRouteStep *> *steps;
+@property (nonatomic, readonly) BOOL hasTolls API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos); // indicates if the route contains tolls
+
+@property (nonatomic, readonly) BOOL hasHighways API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos); // indicates if the route contains highways
+
@end
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h 2022-05-31 15:03:51.000000000 -0400
@@ -0,0 +1,26 @@
+//
+// MKHybridMapConfiguration.h
+// MapKit
+//
+// Copyright © 2021 Apple, Inc. All rights reserved.
+//
+
+#import <MapKit/MKMapConfiguration.h>
+#import <MapKit/MKPointOfInterestFilter.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+MK_EXTERN
+API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos)
+@interface MKHybridMapConfiguration : MKMapConfiguration
+
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithLandscape:(MKMapLandscape)landscape; // To be removed; please use MKMapElevationStyle.
+- (instancetype)initWithElevationStyle:(MKMapElevationStyle)elevationStyle;
+
+@property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter;
+@property (nonatomic) BOOL showsTraffic;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h 2022-05-31 15:03:52.000000000 -0400
@@ -0,0 +1,22 @@
+//
+// MKImageryMapConfiguration.h
+// MapKit
+//
+// Copyright © 2021 Apple, Inc. All rights reserved.
+//
+
+#import <MapKit/MKMapConfiguration.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+MK_EXTERN
+API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos)
+@interface MKImageryMapConfiguration : MKMapConfiguration
+
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithLandscape:(MKMapLandscape)landscape; // To be removed; please use MKMapElevationStyle.
+- (instancetype)initWithElevationStyle:(MKMapElevationStyle)elevationStyle;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h 2022-02-23 07:15:40.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h 2022-05-31 15:03:51.000000000 -0400
@@ -13,6 +13,8 @@
#import <CoreLocation/CoreLocation.h>
#import <CoreGraphics/CoreGraphics.h>
+@class MKMapItem;
+
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@@ -35,6 +37,9 @@
pitch:(CGFloat)pitch
heading:(CLLocationDirection)heading NS_AVAILABLE(10_11, 9_0);
++ (instancetype)cameraLookingAtMapItem:(MKMapItem *)mapItem
+ forViewSize:(CGSize)viewSize
+ allowPitch:(BOOL)allowPitch API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos);
@end
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h 2022-05-31 15:03:51.000000000 -0400
@@ -0,0 +1,37 @@
+//
+// MKMapConfiguration.h
+// MapKit
+//
+// Copyright © 2021 Apple, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+// To be removed; please use MKMapElevationStyle.
+typedef NS_ENUM(NSInteger, MKMapLandscape) {
+ MKMapLandscapeDefault = 0,
+ MKMapLandscapeDetailed,
+};
+
+API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos)
+typedef NS_ENUM(NSInteger, MKMapElevationStyle) {
+ MKMapElevationStyleFlat = 0,
+ MKMapElevationStyleRealistic,
+};
+
+NS_ASSUME_NONNULL_BEGIN
+
+MK_EXTERN
+API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos)
+@interface MKMapConfiguration : NSObject <NSSecureCoding, NSCopying>
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@property (nonatomic) MKMapLandscape landscape; // To be removed; please use MKMapElevationStyle.
+@property (nonatomic) MKMapElevationStyle elevationStyle;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h 2022-02-23 10:56:02.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h 2022-06-03 18:08:52.000000000 -0400
@@ -18,12 +18,17 @@
#import <MapKit/MKOverlayView.h>
#endif
+#if TARGET_OS_IOS
+#import <MapKit/MKMapFeatureAnnotation.h>
+#endif
+
@class MKUserLocation;
@class MKMapCamera;
@class MKMapCameraZoomRange;
@class MKMapCameraBoundary;
@class MKClusterAnnotation;
@class MKPointOfInterestFilter;
+@class MKMapConfiguration;
@protocol MKMapViewDelegate;
@@ -35,6 +40,14 @@
MKUserTrackingModeFollowWithHeading API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos), // the map follows the user's location and heading
} API_AVAILABLE(ios(5.0), tvos(9.2), macos(11.0)) API_UNAVAILABLE(watchos);
+#if TARGET_OS_IOS
+typedef NS_OPTIONS(NSInteger, MKMapFeatureOptions) {
+ MKMapFeatureOptionPointsOfInterest = 1 << MKMapFeatureTypePointOfInterest,
+ MKMapFeatureOptionTerritories = 1 << MKMapFeatureTypeTerritory,
+ MKMapFeatureOptionPhysicalFeatures = 1 << MKMapFeatureTypePhysicalFeature,
+} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
+#endif
+
MK_EXTERN NSString * const MKMapViewDefaultAnnotationViewReuseIdentifier NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0);
MK_EXTERN NSString * const MKMapViewDefaultClusterAnnotationViewReuseIdentifier NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0);
@@ -50,7 +63,14 @@
// Changing the map type or region can cause the map to start loading map content.
// The loading delegate methods will be called as map content is loaded.
-@property (nonatomic) MKMapType mapType;
+@property (nonatomic) MKMapType mapType API_DEPRECATED_WITH_REPLACEMENT("Use respective MKMapConfiguration", macos(10.9, API_TO_BE_DEPRECATED), ios(3.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED));
+
+@property (nonatomic, copy) MKMapConfiguration *configuration; // To be removed
+@property (nonatomic, copy) MKMapConfiguration *preferredConfiguration API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos);
+
+#if TARGET_OS_IOS
+@property (nonatomic) MKMapFeatureOptions selectableMapFeatures API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
+#endif
// Region is the coordinate and span of the map.
// Region may be modified to fit the aspect ratio of the view using regionThatFits:.
@@ -114,10 +134,10 @@
@property (nonatomic) BOOL showsCompass NS_AVAILABLE(10_9, 9_0) API_UNAVAILABLE(tvos);
@property (nonatomic) BOOL showsScale NS_AVAILABLE(10_10, 9_0);
-@property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_DEPRECATED_WITH_REPLACEMENT("Use pointOfInterestFilter on respective MKMapConfiguration", macos(10.15, API_TO_BE_DEPRECATED), ios(13.0, API_TO_BE_DEPRECATED), tvos(13.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos);
@property (nonatomic) BOOL showsPointsOfInterest API_DEPRECATED("Use pointOfInterestFilter", macos(10.9, 10.15), ios(7.0, 13.0), tvos(9.0, 13.0)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard and MKMapTypeHybrid
-@property (nonatomic) BOOL showsBuildings NS_AVAILABLE(10_9, 7_0); // Affects MKMapTypeStandard
-@property (nonatomic) BOOL showsTraffic NS_AVAILABLE(10_11, 9_0); // Affects MKMapTypeStandard and MKMapTypeHybrid
+@property (nonatomic) BOOL showsBuildings API_DEPRECATED("None", macos(10.9, API_TO_BE_DEPRECATED), ios(7.0, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED)); // Affects MKMapTypeStandard
+@property (nonatomic) BOOL showsTraffic API_DEPRECATED_WITH_REPLACEMENT("Use showsTraffic on respective MKMapConfiguration", macos(10.11, API_TO_BE_DEPRECATED), ios(9.0, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED)); // Affects MKMapTypeStandard and MKMapTypeHybrid
// Set to YES to add the user location annotation to the map and start updating its location
@property (nonatomic) BOOL showsUserLocation;
@@ -203,7 +223,7 @@
- (MKOverlayView *)viewForOverlay:(id <MKOverlay>)overlay API_DEPRECATED_WITH_REPLACEMENT("-rendererForOverlay:", ios(4.0, 13.0)) API_UNAVAILABLE(macos, tvos, watchos);
#endif
-// These methods operate implicitly on overlays in MKOverlayLevelAboveLabels and may be deprecated in a future release in favor of the methods that specify the level.
+// These methods operate implicitly on overlays in MKOverlayLevelAboveRoads and may be deprecated in a future release in favor of the methods that specify the level.
- (void)addOverlay:(id <MKOverlay>)overlay NS_AVAILABLE(10_9, 4_0);
- (void)addOverlays:(NSArray<id<MKOverlay>> *)overlays NS_AVAILABLE(10_9, 4_0);
@@ -246,6 +266,9 @@
- (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view NS_AVAILABLE(10_9, 4_0);
- (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view NS_AVAILABLE(10_9, 4_0);
+- (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
+- (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
+
- (void)mapViewWillStartLocatingUser:(MKMapView *)mapView NS_AVAILABLE(10_9, 4_0);
- (void)mapViewDidStopLocatingUser:(MKMapView *)mapView NS_AVAILABLE(10_9, 4_0);
- (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation NS_AVAILABLE(10_9, 4_0);
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayRenderer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayRenderer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayRenderer.h 2022-02-23 07:15:40.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayRenderer.h 2022-05-31 15:03:51.000000000 -0400
@@ -49,6 +49,8 @@
@property (atomic, readonly) CGFloat contentScaleFactor;
+@property (nonatomic, assign) CGBlendMode blendMode API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(macos, watchos) API_UNAVAILABLE(macCatalyst);
+
@end
// Road widths are typically not drawn to scale on the map. This function
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h 2022-02-23 07:15:41.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h 2022-05-31 15:03:52.000000000 -0400
@@ -19,7 +19,7 @@
NS_ASSUME_NONNULL_BEGIN
-API_DEPRECATED_WITH_REPLACEMENT("MKMarkerAnnotationView", macos(10.9, API_TO_BE_DEPRECATED), ios(3.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED))
+API_DEPRECATED_WITH_REPLACEMENT("MKMarkerAnnotationView", macos(10.9, 13.0), ios(3.0, 16.0), tvos(9.2, 16.0))
API_UNAVAILABLE(watchos)
@interface MKPinAnnotationView : MKAnnotationView
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h 2022-05-31 15:03:53.000000000 -0400
@@ -0,0 +1,48 @@
+//
+// MKStandardMapConfiguration.h
+// MapKit
+//
+// Copyright © 2021 Apple, Inc. All rights reserved.
+//
+
+#import <MapKit/MKMapConfiguration.h>
+#import <MapKit/MKPointOfInterestFilter.h>
+
+// To be removed
+typedef NS_ENUM(NSInteger, MKStandardMapConfigurationMapMode) {
+ MKStandardMapConfigurationMapModeDefault = 0,
+ MKStandardMapConfigurationMapModeMuted,
+};
+
+API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos)
+typedef NS_ENUM(NSInteger, MKStandardMapEmphasisStyle) {
+ MKStandardMapEmphasisStyleDefault = 0,
+ MKStandardMapEmphasisStyleMuted,
+};
+
+NS_ASSUME_NONNULL_BEGIN
+
+MK_EXTERN
+API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos)
+@interface MKStandardMapConfiguration : MKMapConfiguration
+
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithElevationStyle:(MKMapElevationStyle)elevationStyle;
+- (instancetype)initWithElevationStyle:(MKMapElevationStyle)elevationStyle emphasisStyle:(MKStandardMapEmphasisStyle)emphasisStyle;
+- (instancetype)initWithEmphasisStyle:(MKStandardMapEmphasisStyle)emphasisStyle;
+
+@property (nonatomic) MKStandardMapEmphasisStyle emphasisStyle;
+@property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter;
+@property (nonatomic) BOOL showsTraffic;
+
+- (instancetype)initWithMapMode:(MKStandardMapConfigurationMapMode)mode;
+- (instancetype)initWithMapMode:(MKStandardMapConfigurationMapMode)mode landscape:(MKMapLandscape)landscape; // To be removed; please use MKMapElevationStyle.
+- (instancetype)initWithMapMode:(MKStandardMapConfigurationMapMode)mode elevationStyle:(MKMapElevationStyle)elevationStyle;
+@property (nonatomic) MKStandardMapConfigurationMapMode mode;
+@property (nonatomic) BOOL showsBuildings; // To be removed
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes 2022-02-23 02:01:45.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes 2022-05-28 00:58:03.000000000 -0400
@@ -23,6 +23,12 @@
SwiftName: MKLocalSearch.Request
- Name: MKLocalSearchResponse
SwiftName: MKLocalSearch.Response
+- Name: MKLookAroundBadgePosition
+ SwiftName: MKLookAroundViewController.BadgePosition
+- Name: MKLookAroundSnapshot
+ SwiftName: MKLookAroundSnapshotter.Snapshot
+- Name: MKLookAroundSnapshotOptions
+ SwiftName: MKLookAroundSnapshotter.Options
- Name: MKMapSnapshot
SwiftName: MKMapSnapshotter.Snapshot
- Name: MKMapSnapshotOptions
@@ -185,6 +191,18 @@
SwiftName: MKLocalSearchCompleter.ResultType
- Name: MKLocalSearchResultType
SwiftName: MKLocalSearch.ResultType
+- Name: MKStandardMapConfigurationMapMode
+ SwiftName: MKStandardMapConfiguration.MapMode
+- Name: MKMapLandscape
+ SwiftName: MKMapConfiguration.MapLandscape
+- Name: MKStandardMapEmphasisStyle
+ SwiftName: MKStandardMapConfiguration.EmphasisStyle
+- Name: MKMapElevationStyle
+ SwiftName: MKMapConfiguration.ElevationStyle
+- Name: MKDirectionsRoutePreference
+ SwiftName: MKDirections.RoutePreference
+- Name: MKMapFeatureType
+ SwiftName: MKMapFeatureAnnotation.FeatureType
Typedefs:
- Name: MKDirectionsHandler
SwiftName: MKDirections.DirectionsHandler
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h 2022-02-22 00:51:07.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h 2022-05-27 22:52:28.000000000 -0400
@@ -63,6 +63,10 @@
#import <MapKit/MKPointOfInterestFilter.h>
#import <MapKit/MKPitchControl.h>
#import <MapKit/MKZoomControl.h>
+#import <MapKit/MKHybridMapConfiguration.h>
+#import <MapKit/MKImageryMapConfiguration.h>
+#import <MapKit/MKMapConfiguration.h>
+#import <MapKit/MKStandardMapConfiguration.h>
#if TARGET_OS_IPHONE
#import <MapKit/MKReverseGeocoder.h>
@@ -75,8 +79,25 @@
#import <MapKit/MKUserTrackingBarButtonItem.h>
#endif // TARGET_OS_IPHONE
+#if TARGET_OS_IOS
+#import <MapKit/MKIconStyle.h>
+#import <MapKit/MKMapFeatureAnnotation.h>
+#import <MapKit/MKMapItemRequest.h>
+#endif
+
#if TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_TV
#import <MapKit/MKUserTrackingButton.h>
#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_TV
+#if (TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_OSX)
+
+#import <MapKit/MKLookAroundScene.h>
+#import <MapKit/MKLookAroundSceneRequest.h>
+#import <MapKit/MKLookAroundSnapshot.h>
+#import <MapKit/MKLookAroundSnapshotOptions.h>
+#import <MapKit/MKLookAroundSnapshotter.h>
+#import <MapKit/MKLookAroundViewController.h>
+
+#endif // (TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_OSX)
+
#endif // __has_include(<MapKit/MKMapView.h>)
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status