Skip to content

AVRouting iOS xcode27.0 b1

Alex Soto edited this page Jun 9, 2026 · 1 revision

#AVRouting.framework

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h	2026-04-18 20:56:10
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h	2026-05-23 02:38:30
@@ -28,7 +28,7 @@
 /// valid value, depending on the type of device. In certain cases, both
 /// properties might provide valid values, in which case your app determines which
 /// one to use.
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED_WITH_REPLACEMENT("AVSystemRoute", ios(16.0, 27.0))
 NS_SWIFT_SENDABLE @interface AVCustomDeviceRoute : NSObject
 
 /*!
@@ -38,7 +38,7 @@
  */
 
 /// A local or remote endpoint to connect to.
-@property (nonatomic, nullable, readonly) nw_endpoint_t networkEndpoint API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic, nullable, readonly) nw_endpoint_t networkEndpoint API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRoute instead", ios(16.0, 27.0));
 
 /*!
 	@property 	bluetoothIdentifier
@@ -46,7 +46,7 @@
  */
 
 /// An identifier to use to establish a connection to a Bluetooth device.
-@property (nonatomic, nullable, readonly) NSUUID *bluetoothIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic, nullable, readonly) NSUUID *bluetoothIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRoute instead", ios(16.0, 27.0));
 
 @end
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h	2026-04-18 20:56:10
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h	2026-05-23 02:38:30
@@ -28,7 +28,7 @@
 /// the
 /// ``AVCustomRoutingControllerDelegate/customRoutingController:didSelectItem:``
 /// method of ``AVCustomRoutingControllerDelegate``.
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouting instead", ios(16.0, 27.0))
 NS_SWIFT_NONSENDABLE @interface AVCustomRoutingActionItem : NSObject
 
 /*!
@@ -41,7 +41,7 @@
 ///
 /// Provide a `UTType` symbol name and description in your app’s `Info.plist`
 /// file.
-@property (nonatomic, copy) UTType *type API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic, copy) UTType *type API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouting instead", ios(16.0, 27.0));
 
 /*!
     @property   overrideTitle
@@ -52,7 +52,7 @@
 /// A string to use to override the title of the item’s type.
 ///
 /// Use this value to dynamically override the title of the custom item.
-@property (nonatomic, copy, nullable) NSString *overrideTitle API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic, copy, nullable) NSString *overrideTitle API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouting instead", ios(16.0, 27.0));
 
 @end
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h	2026-04-18 21:40:13
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h	2026-05-23 01:36:26
@@ -25,7 +25,7 @@
  */
 
 /// A notification the system posts when the list of authorized routes changes.
-AVROUTING_EXTERN NSNotificationName const AVCustomRoutingControllerAuthorizedRoutesDidChangeNotification NS_SWIFT_NAME(AVCustomRoutingController.authorizedRoutesDidChange) API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+AVROUTING_EXTERN NSNotificationName const AVCustomRoutingControllerAuthorizedRoutesDidChangeNotification NS_SWIFT_NAME(AVCustomRoutingController.authorizedRoutesDidChange) API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.0, 27.0));
 
 /*!
 	@class		AVCustomRoutingController
@@ -38,7 +38,7 @@
 /// A routing controller also informs its ``AVCustomRoutingController/delegate``
 /// object about which routes the user previously authorized, so it can
 /// reconnect, if appropriate.
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED_WITH_REPLACEMENT("AVSystemRouteController", ios(16.0, 27.0))
 @interface AVCustomRoutingController : NSObject
 
 /*!
@@ -47,7 +47,7 @@
  */
 
 /// A delegate object for a routing controller.
-@property (nonatomic, weak, nullable) id<AVCustomRoutingControllerDelegate> delegate API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic, weak, nullable) id<AVCustomRoutingControllerDelegate> delegate API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.0, 27.0));
 
 /*!
 	@property 	authorizedRoutes
@@ -62,12 +62,12 @@
 /// app may reactivate any one of these routes when appropriate, but it needs to
 /// inform the system by calling
 /// ``AVCustomRoutingController/setActive:forRoute:``.
-@property (nonatomic, readonly) NSArray<AVCustomDeviceRoute *> *authorizedRoutes API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic, readonly) NSArray<AVCustomDeviceRoute *> *authorizedRoutes API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.0, 27.0));
 
 /**
  An array of route addresses known to be on the local network.
  */
-@property (nonatomic, strong) NSArray<AVCustomRoutingPartialIP *> *knownRouteIPs API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic, strong) NSArray<AVCustomRoutingPartialIP *> *knownRouteIPs API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.1, 27.0));
 
 /*!
     @property   customActionItems
@@ -75,7 +75,7 @@
  */
 
 /// An array of custom action items to add to a route picker.
-@property (nonatomic, strong) NSArray<AVCustomRoutingActionItem *> *customActionItems API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic, strong) NSArray<AVCustomRoutingActionItem *> *customActionItems API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.0, 27.0));
 
 /*!
 	@method     invalidateAuthorization
@@ -139,7 +139,7 @@
 	@protocol	AVCustomRoutingControllerDelegate
 	@abstract	A protocol for delegates of AVCustomRoutingController.
  */
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED_WITH_REPLACEMENT("AVSystemRouteControllerObserver", ios(16.0, 27.0))
 
 /// A protocol for delegates of a custom routing controller.
 NS_SWIFT_SENDABLE @protocol AVCustomRoutingControllerDelegate <NSObject>
@@ -212,7 +212,7 @@
     @class      AVCustomRoutingPartialIP
     @abstract   Represents a full or partial IP address. To be used in conjunction with AVCustomRoutingController.knownRouteIPs
  */
-API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
+API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.1, 27.0))
 /// Represents a full or partial IP address.
 ///
 /// Use this class in conjunction with ``knownRouteIPs``.
@@ -229,7 +229,7 @@
 ///var partialIP = AVCustomRoutingPartialIP(address: address, mask: mask)
 ///```
 
-@property (readonly, copy, nonatomic) NSData *address API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
+@property (readonly, copy, nonatomic) NSData *address API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.1, 27.0));
 
 /** A mask representing how many octets of the IP  address to respect.
  
@@ -242,7 +242,7 @@
  var partialIP =AVCustomRoutingPartialIP(address: address, mask: mask)

*/ -@property (readonly, copy, nonatomic) NSData *mask API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos); +@property (readonly, copy, nonatomic) NSData *mask API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.1, 27.0));

/** Creates an IP fragment. @@ -250,7 +250,7 @@ - address: The IP address. - mask: The address mask. */ -- (instancetype)initWithAddress:(NSData *)address mask:(NSData *)mask API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos); +- (instancetype)initWithAddress:(NSData *)address mask:(NSData *)mask API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED("Use AVSystemRouteController instead", ios(16.1, 27.0));

  • (instancetype)init NS_UNAVAILABLE;

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h --- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h 2026-04-18 20:56:10 +++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h 2026-05-23 02:38:30 @@ -37,7 +37,7 @@ /// /// Depending on the route’s reason, apps establish or tear down a connection to /// a specified route. -API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED_WITH_REPLACEMENT("AVSystemRouteEvent", ios(16.0, 27.0)) NS_SWIFT_SENDABLE @interface AVCustomRoutingEvent : NSObject

/*! @@ -47,7 +47,7 @@

/// A reason for an event, such as a user request to activate or deactivate a /// route. -@property (nonatomic, readonly) AVCustomRoutingEventReason reason API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos); +@property (nonatomic, readonly) AVCustomRoutingEventReason reason API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED_WITH_REPLACEMENT("AVSystemRouteEventReason", ios(16.0, 27.0));

/*! @property route @@ -55,7 +55,7 @@ */

/// A route for the event. -@property (nonatomic, readonly) AVCustomDeviceRoute *route API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos); +@property (nonatomic, readonly) AVCustomDeviceRoute *route API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos) API_DEPRECATED_WITH_REPLACEMENT("AVSystemRoute", ios(16.0, 27.0));

@end

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVRoutingPlaybackArbiter.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVRoutingPlaybackArbiter.h --- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVRoutingPlaybackArbiter.h 2026-04-18 20:56:10 +++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVRoutingPlaybackArbiter.h 2026-05-23 02:38:30 @@ -33,7 +33,7 @@ By default, this value is nil. When the current preferred participant finishes, the system sets this value to nil. If this value is nil, the arbiter doesn't impose any priority on the participants, and the participant that's unmuted is based on the existing selection mechanism. */

-@property (nonatomic, weak, nullable) id preferredParticipantForNonMixableAudioRoutes API_AVAILABLE(tvos(26.0)) API_UNAVAILABLE(ios, watchos, visionos, macos); +@property (nonatomic, weak, nullable) id preferredParticipantForNonMixableAudioRoutes API_AVAILABLE(ios(27.0), tvos(26.0)) API_UNAVAILABLE(watchos, visionos, macos);

/** The participant that has priority to play on external playback interfaces.

Clone this wiki locally