title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.iOS SDK API diff: 14.10.0 vs 14.17.0 |
List of API changes between Xamarin.iOS versions 14.10.0 and 14.17.0. |
spouliot |
sepoulio |
3/2/2021 |
article |
15b09c9d-24e3-d7cd-19e7-cb71b2e59ed2 |
xamarin |
Added value:
MultiMask = 256,
Added method:
public void Deconstruct (out nfloat x, out nfloat y);
Added methods:
public void Deconstruct (out CGPoint location, out CGSize size);
public void Deconstruct (out nfloat x, out nfloat y, out nfloat width, out nfloat height);
Added method:
public void Deconstruct (out nfloat width, out nfloat height);
public static class CVImageBufferAlphaChannelModeExtensions {
// methods
public static Foundation.NSString GetConstant (this CVImageBufferAlphaChannelMode self);
public static CVImageBufferAlphaChannelMode GetValue (Foundation.NSString constant);
}
Obsoleted methods:
[Obsolete ("Use 'CoordinateBatch' instead.")]
public virtual void CoordinateBatc (NSUrl[] readingURLs, NSFileCoordinatorReadingOptions readingOptions, NSUrl[] writingURLs, NSFileCoordinatorWritingOptions writingOptions, out NSError error, System.Action batchHandler);
Added method:
public virtual void CoordinateBatch (NSUrl[] readingURLs, NSFileCoordinatorReadingOptions readingOptions, NSUrl[] writingURLs, NSFileCoordinatorWritingOptions writingOptions, out NSError error, System.Action batchHandler);
Modified methods:
public bool OpenMaps (MKMapItem[] mapItems--- = NULL---, MKLaunchOptions launchOptions = NULL)
[Serializable]
public enum MPNowPlayingPlaybackState {
Interrupted = 4,
Paused = 2,
Playing = 1,
Stopped = 3,
Unknown = 0,
}
Modified fields:
-public const string Version = "14.10.0";
+public const string Version = "14.17.0";
Added fields:
public static const string AccelerateLibrary = "/System/Library/Frameworks/Accelerate.framework/Accelerate";
public static const string CoreAudioLibrary = "/System/Library/Frameworks/CoreAudio.framework/CoreAudio";
public static const string GSSLibrary = "/System/Library/Frameworks/GSS.framework/GSS";
public static const string NotificationCenterLibrary = "/System/Library/Frameworks/NotificationCenter.framework/NotificationCenter";
public static const string TwitterLibrary = "/System/Library/Frameworks/Twitter.framework/Twitter";
Obsoleted fields:
[Obsolete ("Use 'MacCatalyst' instead.")]
UIKitForMac = 5,
public sealed class MacCatalystAttribute : ObjCRuntime.IntroducedAttribute {
// constructors
public MacCatalystAttribute (byte major, byte minor);
public MacCatalystAttribute (byte major, byte minor, byte subminor);
}
public static class NativeObjectExtensions {
// methods
public static IntPtr GetHandle (this INativeObject self);
public static IntPtr GetNonNullHandle (this INativeObject self, string argumentName);
}
public sealed class NoMacCatalystAttribute : ObjCRuntime.UnavailableAttribute {
// constructors
public NoMacCatalystAttribute ();
}
public static class ThrowHelper {
// methods
public static void ThrowArgumentException (string argumentName);
public static void ThrowArgumentException (string argumentName, string message);
public static void ThrowArgumentNullException (string argumentName);
public static void ThrowObjectDisposedException (object o);
}
Added property:
public nfloat[] DashPattern { get; set; }
Modified properties:
-public virtual NSLineBreakStrategy LineBreakStrategy { get; set; }
+public override NSLineBreakStrategy LineBreakStrategy { get; set; }
public static class HdrMetadataInsertionModeExtensions {
// methods
public static Foundation.NSString GetConstant (this HdrMetadataInsertionMode self);
public static HdrMetadataInsertionMode GetValue (Foundation.NSString constant);
}