From f348e045a1870f55560c980b598071e35fcf7252 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 14 Dec 2021 08:11:23 +0100 Subject: [PATCH] [AVFoundation] Fix typo in attribute name and add missing availability attributes. (#13548) --- src/avfoundation.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/avfoundation.cs b/src/avfoundation.cs index cc3725d53c..90159cb5b7 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -9901,12 +9901,13 @@ namespace AVFoundation { [Wrap ("Array.ConvertAll (_GetAvailableEmbeddedThumbnailPhotoCodecTypes, s => AVVideoCodecTypeExtensions.GetValue (s))", IsVirtual = true)] AVVideoCodecType[] AvailableEmbeddedThumbnailPhotoCodecTypes { get; } -#if XAMCORE_4_0 +#if NET [iOS (11, 0)] [NullAllowed, Export ("embeddedThumbnailPhotoFormat", ArgumentSemantic.Copy)] NSDictionary WeakEmbeddedThumbnailPhotoFormat { get; set; } - [Warp ("WeakEmbeddedThumbnailPhotoFormat")] + [iOS (11, 0)] + [Wrap ("WeakEmbeddedThumbnailPhotoFormat")] AVCapturePhotoSettingsThumbnailFormat EmbeddedThumbnailPhotoFormat { get; set; } #else [iOS (11, 0)]