Repository navigation
Photos tvOS xcode27.3 b2
Alex Soto edited this page Nov 24, 2026
·
2 revisions
#Photos.framework https://github.com/dotnet/macios/pull/27400
diff -ruN /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAssetChangeRequest.h /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAssetChangeRequest.h
--- /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAssetChangeRequest.h 2026-11-04 03:32:02
+++ /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAssetChangeRequest.h 2026-11-23 18:18:28
@@ -55,6 +55,13 @@
@property (nonatomic, strong, readwrite, nullable) NSDate *creationDate;
@property (nonatomic, strong, readwrite, nullable) CLLocation *location;
+
+/// The time zone in which the asset was captured.
+///
+/// The time zone applies to the asset's ``PHAsset/creationDate``, including a creation date set in the same change request.
+/// Set to `nil` to restore the time zone Photos derives from the asset's original metadata.
+@property (nonatomic, copy, readwrite, nullable) NSTimeZone *timeZone API_AVAILABLE(macos(27.3), ios(27.3), tvos(27.3), visionos(27.3));
+
@property (nonatomic, assign, readwrite, getter=isFavorite) BOOL favorite;
// a hidden asset will be excluded from moment collections, but may still be included in other smart or regular album collections
diff -ruN /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAssetExtendedMetadata.h /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAssetExtendedMetadata.h
--- /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAssetExtendedMetadata.h 2026-11-04 03:32:02
+++ /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAssetExtendedMetadata.h 2026-11-23 18:18:28
@@ -28,6 +28,14 @@
/// The keywords associated with this asset
@property (copy, readonly) NSArray<NSString *> *keywords;
+/// The time zone in which this asset was captured.
+///
+/// Use this time zone to present ``PHAsset/creationDate`` in capture-local time. The time zone comes from
+/// the original file's metadata (its time offset or GPS location), or from a time zone the user or an app set. If no capture time zone
+/// is known, it's the device's time zone when the asset was added to the library. The value is `nil` if the library
+/// doesn't record a time zone for the asset.
+@property (copy, readonly, nullable) NSTimeZone *timeZone API_AVAILABLE(macos(27.3), ios(27.3), tvos(27.3), visionos(27.3));
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PhotosTypes.h /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PhotosTypes.h
--- /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PhotosTypes.h 2026-11-04 03:32:02
+++ /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PhotosTypes.h 2026-11-23 18:18:28
@@ -150,8 +150,8 @@
PHAssetPlaybackStyleVideoLooping = 5,
} API_AVAILABLE(macos(10.13), ios(11), tvos(11)) NS_SWIFT_NAME(PHAsset.PlaybackStyle);
-// Playback variation describes the Live Photo presentation effect applied to an asset (for example, Long Exposure).
-// This MUST stay in sync with PFMetadataPlaybackVariation (PhotosFormats/PFMetadataDefine.h)
+/// Playback variation describes the Live Photo presentation effect applied to an asset (for example, Long Exposure).
+
typedef NS_ENUM(NSInteger, PHAssetPlaybackVariation) {
PHAssetPlaybackVariationNone = 0, // Default Live Photo presentation.
PHAssetPlaybackVariationAutoloop = 1, // Loop variation.