Skip to content

CarPlay MacCatalyst xcode27.0 b4

Alex Soto edited this page Jul 24, 2026 · 2 revisions

#CarPlay.framework https://github.com/dotnet/macios/pull/26271

diff -ruN /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanel.h /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanel.h
--- /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanel.h	2026-06-27 03:51:59
+++ /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanel.h	2026-07-11 04:06:17
@@ -46,7 +46,7 @@
 /**
  The sections contained in this page.
  */
-@property (nonatomic, copy, readonly) NSArray<CPMapPanelSection *> *sections;
+@property (nonatomic, copy, readwrite) NSArray<CPMapPanelSection *> *sections;
 
 /**
  The button configuration for this page.
diff -ruN /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h
--- /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h	2026-06-27 03:52:02
+++ /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h	2026-07-11 04:06:19
@@ -34,7 +34,7 @@
 /**
  Optional travel estimates displayed alongside the primary action.
  */
-@property (nonatomic, copy) CPTravelEstimates *travelEstimates;
+@property (nonatomic, copy, nullable) CPTravelEstimates *travelEstimates;
 
 /**
  An optional secondary button shown with this configuration. Note: only the image property of this button is used.
diff -ruN /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationAlert.h /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationAlert.h
--- /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationAlert.h	2026-06-30 01:24:41
+++ /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationAlert.h	2026-07-11 23:35:13
@@ -168,6 +168,15 @@
  */
 @property (nonatomic, readonly, class) CGSize maximumAvatarImageSize API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(tvos);
 
+/**
+ A Boolean value indicating whether the close button is allowed to appear.
+
+ @discussion Set the value of this property to @c NO to hide the close button.
+
+ Defaults to @c YES.
+ */
+@property (nonatomic, assign) BOOL showsCloseButton API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(tvos);
+
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteDetail.h /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteDetail.h
--- /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteDetail.h	2026-06-30 01:08:08
+++ /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteDetail.h	2026-07-11 23:35:12
@@ -297,6 +297,34 @@
 + (instancetype)routeDetailWithWarning:(NSString *)warning;
 
 /**
+ Creates additional route information with a freeform informational string.
+
+ Use this method to display a short piece of general information about the route that does not
+ fit any of the predefined route detail categories.
+
+ @discussion Info strings should be concise and localized. The system displays this alongside
+ other route details during route selection and active navigation.
+
+ @param info A localized string containing the information to display. Must not be nil.
+ @return A new @c CPRouteDetail instance representing the informational text.
+ */
++ (instancetype)routeDetailWithInfo:(NSString *)info;
+
+/**
+ Creates additional route information describing parking at the destination.
+
+ Use this method to surface parking-related details (availability, estimated cost, distance
+ to destination) so users can factor parking into their route selection.
+
+ @discussion Parking information is displayed alongside other route details. Keep the string
+ concise and localized so it reads clearly in the available space.
+
+ @param parking A localized string describing parking at the destination. Must not be nil.
+ @return A new @c CPRouteDetail instance representing the parking information.
+ */
++ (instancetype)routeDetailWithParking:(NSString *)parking;
+
+/**
  Creates custom additional route information with a symbol name and value.
 
  Use this method to display app-specific route information that doesn't fit the predefined
@@ -322,18 +350,6 @@
        new predefined types that would benefit other developers.
  */
 + (instancetype)routeDetailWithSymbolName:(NSString *)symbolName value:(NSString *)value;
-
-/**
- The labelTintColor to apply to the label.
-
- The system requires a dynamic color that adapts to appearance changes. Static colors without
- light and dark variants fall back to the system default label color. Alpha components are
- ignored and all colors render at full opacity.
-
- @seealso Use @c +[UIColor colorWithDynamicProvider:] or asset catalog colors to create
- dynamic colors that adapt to light and dark appearances.
- */
-@property (nonatomic, strong, nullable) UIColor *labelTintColor;
 
 /**
  The symbolTintColor to apply to the label.

Clone this wiki locally