Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created September 2, 2022 14:49
Show Gist options
  • Save vs-mobiletools-engineering-service2/2aff8cb48825a3121e11ae07e64a5095 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/2aff8cb48825a3121e11ae07e64a5095 to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/dotnet/Microsoft.iOS.Ref/ref/net6.0/Microsoft.iOS.md

API diff: Microsoft.iOS.dll

Microsoft.iOS.dll

Namespace PdfKit

Type Changed: PdfKit.PdfPage

Added constructors:

public PdfPage (UIKit.UIImage image, Foundation.NSDictionary options);
public PdfPage (UIKit.UIImage image, PdfPageImageInitializationOption options);

Type Changed: PdfKit.PdfView

Added interface:

UIKit.IUIFindInteractionDelegate

Added properties:

public virtual UIKit.UIFindInteraction FindInteraction { get; }
public virtual bool FindInteractionEnabled { get; set; }
public virtual bool InMarkupMode { get; set; }
public virtual IPdfPageOverlayViewProvider PageOverlayViewProvider { get; set; }

Added methods:

public virtual void DidBeginFindSession (UIKit.UIFindInteraction interaction, UIKit.UIFindSession session);
public virtual void DidEndFindSession (UIKit.UIFindInteraction interaction, UIKit.UIFindSession session);
public virtual UIKit.UIFindSession GetSession (UIKit.UIFindInteraction interaction, UIKit.UIView view);

New Type: PdfKit.IPdfPageOverlayViewProvider

public interface IPdfPageOverlayViewProvider : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual UIKit.UIView GetOverlayView (PdfView view, PdfPage page);
}

New Type: PdfKit.PdfPageImageInitializationOption

public class PdfPageImageInitializationOption : Foundation.DictionaryContainer {
	// constructors
	public PdfPageImageInitializationOption ();
	public PdfPageImageInitializationOption (Foundation.NSDictionary dictionary);
	// properties
	public double? CompressionQuality { get; set; }
	public CoreGraphics.CGRect? MediaBox { get; set; }
	public int? Rotation { get; set; }
	public bool? UpscaleIfSmaller { get; set; }
}

New Type: PdfKit.PdfPageImageInitializationOptionKeys

public static class PdfPageImageInitializationOptionKeys {
	// properties
	public static Foundation.NSString CompressionQualityKey { get; }
	public static Foundation.NSString MediaBoxKey { get; }
	public static Foundation.NSString RotationKey { get; }
	public static Foundation.NSString UpscaleIfSmallerKey { get; }
}

New Type: PdfKit.PdfPageOverlayViewProvider_Extensions

public static class PdfPageOverlayViewProvider_Extensions {
	// methods
	public static void WillDisplayOverlayView (this IPdfPageOverlayViewProvider This, PdfView pdfView, UIKit.UIView overlayView, PdfPage page);
	public static void WillEndDisplayingOverlayView (this IPdfPageOverlayViewProvider This, PdfView pdfView, UIKit.UIView overlayView, PdfPage page);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment