-
Notifications
You must be signed in to change notification settings - Fork 571
BackgroundAssets macOS xcode27.0 b2
Alex Soto edited this page Jun 23, 2026
·
2 revisions
#BackgroundAssets.framework
diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundAssets.framework/Headers/BAAssetPackManager.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundAssets.framework/Headers/BAAssetPackManager.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundAssets.framework/Headers/BAAssetPackManager.h 2026-05-28 02:28:42
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundAssets.framework/Headers/BAAssetPackManager.h 2026-06-13 20:48:39
@@ -29,7 +29,10 @@
/// The language asset packs that are localized for which the system automatically makes available locally, represented as a BCP-47 identifier.
///
-/// The user’s preferred languages inform the choice of resolved language, respecting any language that your app sets manually. This property may be `nil` if no localized asset packs are available. You can manually set this property to `nil` to revert to the user’s system-wide language preference. If the user recently changed their preferred language, then this property’s value could be temporarily out of sync with the set of asset packs that are available locally. Setting the language doesn’t immediately download or remove any asset packs; call ``BAAssetPackManager/reconcilePreferredLanguagesWithCompletionHandler:`` to reconcile the set of downloaded asset packs with the new configuration.
+/// The user’s preferred languages inform the choice of resolved language, respecting any language that your application sets manually. This property may be `nil` if no localized asset packs are available. You can manually set this property to `nil` to revert to the user’s system-wide language preference. If the user recently changed their preferred language, then this property’s value could be temporarily out of sync with the set of asset packs that are available locally. Setting the language doesn’t immediately download or remove any asset packs; call ``BAAssetPackManager/reconcilePreferredLanguagesWithCompletionHandler:`` to reconcile the set of downloaded asset packs with the new configuration.
+///
+/// Setting a new resolved language also changes your application’s display language.
+/// - Note: Don’t set this property to a new value within your downloader extension.
@property (nullable, readwrite, copy) NSString* resolvedLanguage
API_AVAILABLE(ios(27), macos(27), tvos(27), visionos(27))
NS_SWIFT_NAME(resolvedLanguageID);