Skip to content

MapKit iOS xcode15.3 b1

Alex Soto edited this page May 23, 2024 · 2 revisions

#MapKit.framework https://github.com/xamarin/xamarin-macios/pull/20097

diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h	2023-11-12 11:26:20
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h	2024-01-18 23:44:30
@@ -41,6 +41,9 @@
 // fromScene is used to indicate the UIScene where the user interaction took place.
 - (void)openInMapsWithLaunchOptions:(nullable NSDictionary<NSString *, id> *)launchOptions fromScene:(nullable UIScene *)scene completionHandler:(void (^__nullable)(BOOL success))completion API_AVAILABLE(ios(13.2)) API_UNAVAILABLE(watchos, tvos, macos);
 + (void)openMapsWithItems:(NSArray<MKMapItem *> *)mapItems launchOptions:(nullable NSDictionary<NSString *, id> *)launchOptions fromScene:(nullable UIScene *)scene completionHandler:(void (^__nullable)(BOOL success))completion API_AVAILABLE(ios(13.2)) API_UNAVAILABLE(watchos, tvos, macos);
+#elif TARGET_OS_OSX
+- (void)openInMapsWithLaunchOptions:(nullable NSDictionary<NSString *, id> *)launchOptions completionHandler:(void (^__nullable)(BOOL success))completion API_AVAILABLE(macos(14.4)) API_UNAVAILABLE(ios, watchos, tvos);
++ (void)openMapsWithItems:(NSArray<MKMapItem *> *)mapItems launchOptions:(nullable NSDictionary<NSString *, id> *)launchOptions completionHandler:( void (^__nullable)(BOOL success))completion API_AVAILABLE(macos(14.4)) API_UNAVAILABLE(ios, watchos, tvos);
 #endif
 
 @end
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes	2023-10-28 17:44:19
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes	2024-01-11 22:32:24
@@ -185,8 +185,6 @@
   SwiftName: MKLocalSearchCompleter.FilterType
 - Name: MKScaleViewAlignment
   SwiftName: MKScaleView.Alignment
-- Name: MKTileOverlayPath
-  SwiftName: MKTileOverlay.Path
 - Name: MKLocalSearchCompleterResultType
   SwiftName: MKLocalSearchCompleter.ResultType
 - Name: MKLocalSearchResultType
Clone this wiki locally