Skip to content

Intents iOS xcode13.2 b2

Alex Soto edited this page Dec 6, 2021 · 3 revisions

#Intents.framework https://github.com/xamarin/xamarin-macios/pull/13497

diff -ruN /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMediaUserContext.h /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMediaUserContext.h
--- /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMediaUserContext.h	2021-10-22 20:32:03.000000000 -0400
+++ /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMediaUserContext.h	2021-11-11 23:13:38.000000000 -0500
@@ -15,7 +15,9 @@
     /// The user is not a subscriber, but subscriptions are offered
     INMediaUserContextSubscriptionStatusNotSubscribed,
     /// The user is registered with a subscription (free, trial, or paid)
-    INMediaUserContextSubscriptionStatusSubscribed
+    INMediaUserContextSubscriptionStatusSubscribed,
+    /// The user is registered with a Music Voice subscription
+    INMediaUserContextSubscriptionStatusVoice API_AVAILABLE(ios(15.2), watchos(8.3), tvos(15.2)) API_UNAVAILABLE(macos)
 } API_AVAILABLE(ios(13.0), watchos(6.0), tvos(14.0)) API_UNAVAILABLE(macos) NS_SWIFT_NAME(INMediaUserContext.SubscriptionStatus);
 
 API_AVAILABLE(ios(13.0), watchos(6.0), tvos(14.0)) API_UNAVAILABLE(macos)
diff -ruN /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INRelevantShortcut.h /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INRelevantShortcut.h
--- /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INRelevantShortcut.h	2021-10-22 20:32:07.000000000 -0400
+++ /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INRelevantShortcut.h	2021-11-11 23:13:41.000000000 -0500
@@ -55,7 +55,7 @@
  @abstract Links the relevant shortcut to a specific WidgetKit widget kind.
  @discussion When a relevant shortcut is linked to a WidgetKit widget, it hints to the system when to show the widget in a stack.
  */
-@property (copy, nullable, NS_NONATOMIC_IOSONLY) NSString *widgetKind;
+@property (copy, nullable, NS_NONATOMIC_IOSONLY) NSString *widgetKind API_AVAILABLE(ios(15.0), watchos(8.0));
 
 /*!
  @abstract The role of the relevant shortcut.
Clone this wiki locally