-
Notifications
You must be signed in to change notification settings - Fork 507
PhotosUI tvOS xcode15.0 b1
Haritha Mohan edited this page Sep 7, 2023
·
3 revisions
#PhotosUI.framework https://github.com/xamarin/xamarin-macios/pull/18959
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHLivePhotoView.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHLivePhotoView.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHLivePhotoView.h 2023-03-09 19:12:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHLivePhotoView.h 2023-05-31 04:46:34
@@ -64,7 +64,12 @@
#if TARGET_OS_OSX
/// The mode in which the receiver will display its content. Defaults to PHLivePhotoViewContentModeAspectFit.
@property (readwrite, nonatomic, assign) PHLivePhotoViewContentMode contentMode;
+#endif
+/// The rectangle, in the unit coordinate space, that defines the portion of the Live Photo contents that should be displayed. In this coordinate system, the point `{0.0,0.0}` refers to the upper left corner of the Live Photo, and `{1.0,1.0}` refers to the bottom right corner.
+@property (nonatomic) CGRect contentsRect API_AVAILABLE(macos(14), ios(17), tvos(17));
+
+#if TARGET_OS_OSX
/// The audio volume during playback
@property (readwrite, nonatomic, assign) float audioVolume;
#endif
@@ -85,7 +90,7 @@
/// Stops live photo playback. If animated is NO, the photo is immediately displayed.
- (void)stopPlaybackAnimated:(BOOL)animated;
-/// Directly access the livePhotoBadge in cases where it should be added to a different place in the view hierachy and not the live photo view. This can be useful when the live photo view is added to a scroll view.
+/// Directly access the livePhotoBadge in cases where it should be added to a different place in the view hierarchy and not the live photo view. This can be useful when the live photo view is added to a scroll view.
@property (readonly, nonatomic, strong, nullable) NSView *livePhotoBadgeView;
#endif
@end
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status