Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created September 12, 2022 21:48
Show Gist options
  • Save vs-mobiletools-engineering-service2/c4934ead64946f7c8b2bc7c366d72fd4 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/c4934ead64946f7c8b2bc7c366d72fd4 to your computer and use it in GitHub Desktop.
stable-api-comparison/ios-api-diff.md
title description author ms.author ms.date ms.topic ms.assetid ms.prod
Xamarin.iOS SDK API diff: 15.12.0 vs 15.13.0
List of API changes between Xamarin.iOS versions 15.12.0 and 15.13.0.
spouliot
sepoulio
9/12/2022
article
dc679b84-d3e8-088b-db05-ca766e747c7a
xamarin

Xamarin.iOS SDK API diff: 15.12.0 vs 15.13.0

Namespace CarPlay

Type Changed: CarPlay.CPListSection

Obsoleted constructors:

 [Obsolete ("Use '.ctor (ICPListTemplateItem [], string, string)' constructor instead. Warning: this will throw InvalidOperationException at runtime.")]
 public CPListSection (CPListItem[] items);
 [Obsolete ("Use '.ctor (ICPListTemplateItem [], string, string)' constructor instead. Warning: this will throw InvalidOperationException at runtime.")]
 public CPListSection (CPListItem[] items, string header, string sectionIndexTitle);

Added constructors:

public CPListSection (ICPListTemplateItem[] items);
public CPListSection (ICPListTemplateItem[] items, string header, string sectionIndexTitle);

Obsoleted properties:

 [Obsolete ("Use 'Items2 : ICPListTemplateItem []' instead.")]
 public virtual CPListItem[] Items { get; }

Added property:

public virtual ICPListTemplateItem[] Items2 { get; }

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "15.12.0";
+public const string Version = "15.13.0";

Namespace UIKit

Type Changed: UIKit.UIApplication

Added method:

public UIContentSizeCategory GetPreferredContentSizeCategory ();

Namespace UserNotifications

Type Changed: UserNotifications.UNNotificationInterruptionLevel

Obsoleted fields:

 [Obsolete ("Use 'Active2'.")]
 Active = 0,
 [Obsolete ("Use 'Critical2'.")]
 Critical = 1,
 [Obsolete ("Use 'Passive2'.")]
 Passive = 2,
 [Obsolete ("Use 'TimeSensitive2'.")]
 TimeSensitive = 3,

Added values:

Active2 = 1,
Critical2 = 3,
Passive2 = 0,
TimeSensitive2 = 2,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment